Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem with request.getParameter in Servlet

843840Oct 18 2002 — edited Oct 21 2002
I am submitting the user name and password from an HTML file using the POST method. Then in the servlet's doPost I do

var = request.getParameter("userid")

When I am try to print this, I am getting the value as null.

I have installed tomcat 4.1.12

Could anyone please tell me what is the problem here.

Regards,

Sharad
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 18 2002
Added on Oct 18 2002
8 comments
1,040 views