February 28, 2008 at 3:22 PM
All controls(Text box, combo box....) in an html file will have a name-value pair attribute.
JSP has a built in object request. Use it's built in function paraMeter(attribute value);
An html file has a text box as
<input type= "text" value="eg" name="text1">
To get the value of this text box in a JSP file :
String val = request.getParaMeter(text1);
Java accepts all inputs in STRING type only. In this Case (JSP) also all inputs should be accepted in string type only.