Hello:
I am new to JAVA and the creation of JSP pages but I believe I have correctly coded what would be needed for a user to log into a page and go to another page to and still know that they logged in using the session parameter.
On the main page after login I can return the fact that a session is active using the session.getAttr ibute method but using it on a subsequent page results in NULL being returned. Not trusting my coding I downloaded a sample program that is supposed to do the same at: http://www.roseindia.net/jsp/SessionAttribute.shtml
but it too returns NULL. Is there something not set properly in Tomcat? In Tomcat manager I see the session only it is not being passed to the subsequent called page.
Any help is appreciated. I did not make any changes to the program I downloaded from the roseindia site.
I am new to JAVA and the creation of JSP pages but I believe I have correctly coded what would be needed for a user to log into a page and go to another page to and still know that they logged in using the session parameter.
On the main page after login I can return the fact that a session is active using the session.getAttr ibute method but using it on a subsequent page results in NULL being returned. Not trusting my coding I downloaded a sample program that is supposed to do the same at: http://www.roseindia.net/jsp/SessionAttribute.shtml
but it too returns NULL. Is there something not set properly in Tomcat? In Tomcat manager I see the session only it is not being passed to the subsequent called page.
Any help is appreciated. I did not make any changes to the program I downloaded from the roseindia site.
Comment