Hi Folks,
Im developing a
jsp page where I set the value obtained from a dropdown to insert into a database.
Im using
java script to fetch the value of the dropdown in the jsp , and then use the value for processing in the
servlet. Im able to pass the value of the dropdown successfully here .
Its something like this..
However , when I click on a value in the dropdown the page submits as expected and the form is submitted to the Servlet , which processes the request,but when the page reloads after submission the dropdown value is lost and is set to the default "--Select--" value , any ideas where i could be going wrong ?