I wish to get the values from the drop down menu selected by a user from the HTML page and pass this value into my servlet program for processing.
In my servlet program, I've used the getParameter() function to obtain the value from the drop down menu selected.
<OPTION value="" selected>- Select -</OPTION>
String days= request.getParameter("Day");
System.out.println("DAY =" +days);
Attached are my JSP(frmLockOut.html) and Servlet(AdmProfileLockOut.java- see function add( ) ) source code files for reference.