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!

request.getParameter in jsp

843838May 31 2006 — edited May 31 2006
Hi!
in my jsp code , i am reading a value from select box and submitting the form to a jsp page.
My jsp reads the selected value of the select box and displays some values.

This seems working for me as i am using request.getParamater("my_selectbox_name"); in my jsp.

i have one search button in the same jsp which reruns the same jsp....

here i am getting null value from my select box.

i tried to replace the select box with hidden and assigned a fix value to the same.
then i replaced the request.getParameter as request.getParameter(my_hidden_name);

this works fine as far as the first submit of form, but returns null if i click my search button in my jsp.

any help pls...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 28 2006
Added on May 31 2006
7 comments
386 views