Click to See Complete Forum and Search --> : JSP Session variable storing


thisisboni
November 28th, 2004, 01:12 AM
Hi,
I am still a novica at JSP :(!
I have a a login page with a username and a password
after validation success it goes to a menu from which the user can select operations.

is there a way via which I can set the username once and use it in each operation ? or do I have to use the get/set Parameter for each page even if I do not need the username in that page.

Samik

khp
November 28th, 2004, 01:21 AM
You might want to take a look at session variables, here's a quick tutorial http://www.jsptut.com/Sessions.jsp

Oh and btw. This is the Java forum, Java!=JSP. The scripting forum is properly a better place for JSP related questions.