Hi,
Let say, I have 2 input parameters in the form. If I need an extra parameter
(e.g the name of the form or any other thing) to be sent to the servlet,
what should I do?
<form name="form1" value="form1" method="post">
<input type="text" name="para1" value="value1">
<input type="text" name="para2" value="value2">
</form>
Thanks
Lew - 12 May 2008 12:49 GMT
> Let say, I have 2 input parameters in the form. If I need an extra parameter
> (e.g the name of the form or any other thing) to be sent to the servlet,
[quoted text clipped - 4 lines]
> <input type="text" name="para2" value="value2">
> </form>
<input type="hidden" ...
More generally, learn HTML.
<http://www.w3schools.com/tags/default.asp>

Signature
Lew
Roedy Green - 12 May 2008 18:14 GMT
>Let say, I have 2 input parameters in the form. If I need an extra parameter
>(e.g the name of the form or any other thing) to be sent to the servlet,
[quoted text clipped - 4 lines]
><input type="text" name="para2" value="value2">
></form>
see http://mindprod.com/jgloss/htmlforms.html#FORMS

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com