sending a html select box to a servlet
I have a servlet which list numbers and has a drop down box that lets users chnage the number to another one, the user then clicks update and the values should be passed onto the next page.
my select box looks like this:
"<td>" +"<select name=\"select\">" +
" <option value=\"1\">1</option> "+
" <option value=\"2\">2</option> "+
"<option value=\"3\">3</option> "+
" <option value=\"4\">4</option> "+
" </select></td>" +
I then want to use a hidden type to pass that value but i dont know how i have tried
<INPUT TYPE=\"HIDDEN\" NAME=\"priority\" " +
"VALUE=\"" + select +"\">\n" +
But that does not work can anybody help me?

