Hi,
I am using Tomcat 4.0. I have the following code in a Servlet

        session.setAttribute("USER", szLoginName);
        session.setAttribute("APPLICATION", new Integer(appID));
                
        RequestDispatcher rd =
getServletContext().getRequestDispatcher("index.jsp");
      rd.forward(request,response);


In the index.jsp I was not able to access the "USER" and "APPLICATION" 
attributes that I am setting in session object.

Moreover session.getId() on both the page and the servlet reveals different
session ID.

Does any body has any idea why this is happening? 
Similar forwards from JSP to JSP is working absolutly fine.

Rdgs.

_____________________________________________________________________
Rajesh Kumar Ilango

To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm

Reply via email to