Hi folks ,
Im trying to use a dropdown as part of the html form in the page im creating.The dropdown works in the following manner--
and as result im not able to insert or update or perform any operations that occure after i press the submit button.
Im placing the code snippet from my jsp that I use for generating the dropdown and setting the selected value in a hidden field.
Servlet , where the value from dropdown is obtained and used for further processing.
here the value of setDtID is set to -1 , and not the dropdown selection ,every time I perform a submit . Any clue as to why this could be happening? Thanks for your time . Any help would be appreciated.