Hello "username" problem

Hey guys,

I'm trying to greet the user by saying hello "username" but am unable to do so.

I'm using jsp and servlets.

Here's the problem:

An html page called Login.html takes the input from the user i.e username and password.

I've used <form action="http://localhost:8080/Dashboard/Dashboard">

The url in the action attribute is the servlet which consists of 3 frames:

1st frame is a jsp

the other two frames are html.

In the 1st frame i want to display the greeting message i.e, hello "username".(Remember, the 1st frame is a jsp).

The 1st frame is a file called Intro.jsp.

Here i have written the necessary code for greeting the user, i.e request.getParameter("userid") and other relevant code.

When i press the submit button on the login page, it takes me to the url specified in the action attribute(which is the servlet).

Obviously, the servlet will take the parameters.

But i want the jsp page to take the parameters. Is this possible?

[1050 byte] By [alok1983a] at [2007-11-26 15:11:51]
# 1
Dear Friend,i hope you want to display the username after login validation.Store the username in a session. On the HTML (change as JSP) Here fetch the value from Session.and display it.Or use cookiee.Regards,Rengaraj.R
rengaraja at 2007-7-8 9:02:55 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
thanks for the suggestion...i'll try it out and let u know
alok1983a at 2007-7-8 9:02:55 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...