1 Reply Latest reply: Mar 20, 2002 7:39 PM by 3004 RSS

    How does one pass data between war files

    3004

      Hello All,

      I need to be able to pass values between 2 war files.
      example:
      from a JSP file in the 1st war file i get the login information and need to pass
      the userid and password to another JSP in the 2rd war file.

      Question: How does one go about doing this.

      I'm using webLogic server 6.1 on NT.

      Thanks - Bala
        • 1. Re: How does one pass data between war files
          3004
          The problem is that web applications do not share the same session by
          default. If you set the cookie name to be the same for both web
          applications, you should be able to pass the data in the HttpSession...

          Bala Ganesh wrote:
          Hello All,

          I need to be able to pass values between 2 war files.
          example:
          from a JSP file in the 1st war file i get the login information and need to pass
          the userid and password to another JSP in the 2rd war file.

          Question: How does one go about doing this.

          I'm using webLogic server 6.1 on NT.

          Thanks - Bala