If you put a input within a form,
<form >
    <input>
</form>
You can acquire the input value through its name.
using request.getParameter("number") ;
You can have many inputs within a form.
Anything outside won't be sent.

Ralph Merrick wrote:

>Does any know out there how to send the value of hidden or non hidden input fields 
>through the action of a form, You know that usually a form has the following 
>signature: 
>
><FORM NAME="add" ACTION="save.jsp" METHOD="POST">
>
>SO lets say you have an hidden input number:
>
><INPUT TYPE="hidden" NAME="number" VALUE="6">
>
>in a page called add.jsp and its signature in the form is <FORM NAME="add" 
>ACTION="save.jsp" METHOD="POST">
>
>so, can you do <FORM NAME="add" ACTION="save.jsp?number="number METHOD="POST">
>
>or something like that , because with JSP for ex. I know you can use 1 of two ways,
>
>Either request.getParameter("field name") in the page like save.jsp which will read 
>inputs from the add.jsp page  or you can use JSP forward as parameters
>
>Does any also know why the request.getParameters(""); on inputs in the client page 
>like in my case add.jsp, or parameters as inputs on add.jsp passed to the action page 
>of save.jsp, also using JSP forward parameters doesnt work if you put this in the 
>form signature: <FORM ENCTYPE="multipart/form-data"
>
>Because I need to upload a file as well
>?
>
>can somebody please help me as I need to upload a file and I need this <FORM 
>ENCTYPE="multipart/form-data" but I also need to read values of input files in the 
>action page from the client page.
>
> 
>
>Thanks
>
> 
>
>
>
>---------------------------------
>Do you Yahoo!?
>New DSL Internet Access from SBC & Yahoo!
>  
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to