Integrating ASP with JSP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samido
    New Member
    • Oct 2007
    • 52

    Integrating ASP with JSP

    it is this possible guys...? Integrating ASP with JSP...!
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Define "Integratin g"?

    Comment

    • chaarmann
      Recognized Expert Contributor
      • Nov 2007
      • 785

      #3
      It is possible.
      Just take an Apache server which redirects to an Apache Tomcat or Microsoft IIS instance, depending on the extension (.jsp or .asp)

      Comment

      • samido
        New Member
        • Oct 2007
        • 52

        #4
        Originally posted by r035198x
        Define "Integratin g"?
        I mean, say for instance ... using same session varables that can be used in the same asp and jsp, my problem is they don't use the same application/web server...! they runs differently

        Sam Rabophala

        Comment

        • chaarmann
          Recognized Expert Contributor
          • Nov 2007
          • 785

          #5
          Originally posted by samido
          I mean, say for instance ... using same session varables that can be used in the same asp and jsp, my problem is they don't use the same application/web server...! they runs differently

          Sam Rabophala
          Same session vaiables is not possible, because it runs in different webservers, maybe even on different hosts from what you have mentioned.
          But you can pass all needed variables between the 2 servers as URL-parameters in your inquiry.
          Or you can synchronize the session variables in a different way. There are many: over pipes, database, temporary files and so on.
          I can give you one way to synchronize right here which comes in my mind: over httpGet(). That means if an inquiry hits the Tomcat container I would issue an inquiry to the IIS over httpGet() to get the latest values of the needed parameters from IIS session and then update the own Tomcat session vaiables with it. Then serve the inquiry as usual and send the response back.

          Comment

          • BigDaddyLH
            Recognized Expert Top Contributor
            • Dec 2007
            • 1216

            #6
            On the other hand, i think this combination will end up looking like a dog's breakfast. Why do it?

            Comment

            Working...