tool to convert PHP code to JSP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elangobala
    New Member
    • Sep 2007
    • 30

    tool to convert PHP code to JSP

    hi,

    Is there any tools available for converting php codes to jsp....
  • Death Slaught
    Top Contributor
    • Aug 2007
    • 1137

    #2
    Originally posted by elangobala
    hi,

    Is there any tools available for converting php codes to jsp....
    JavaScript is a browser side langauge, and PHP is a server-side langauge. PHP can do alot of things that JavaScript can't, so no I do not believe there is such a tool.

    Thanks, Death

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      Do you mean JSP (the server-side language)?

      Comment

      • elangobala
        New Member
        • Sep 2007
        • 30

        #4
        yeah i m mentioning java server pages

        In our company they have already done the project in php.Now the client wants to do it in jsp..It s very complicated to do it in a short time..so pplease anyone help me for that any tools available for converting it in to jsp...

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          Well, this doesn't belong in the JavaScript forum. JSP is not JavaScript.

          Before I send this over to the Java forum, I don't see why you should need to convert to JSP. The output in the browser will be the same. In addition to this, PHP is free, so cost is not an issue.

          Is there a very good reason for this besides the client said so?

          PS. changed the thread title.

          Comment

          • elangobala
            New Member
            • Sep 2007
            • 30

            #6
            Because for security reasons,they need to be done in jsp....

            Comment

            • acoder
              Recognized Expert MVP
              • Nov 2006
              • 16032

              #7
              Moved to the Java forum.

              Comment

              • r035198x
                MVP
                • Sep 2006
                • 13225

                #8
                If there are any such tools, google will turn them up. I'd advise that you stay as far away from such tools as possible. If something needs to be done in JSP, write it in JSP. If you have a PHP version, all you can reuse are the algorithms and ideas, not the code.

                Comment

                Working...