request.getParameter in jsp
843838May 31 2006 — edited May 31 2006Hi!
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...