If you want to upload a file look at Struts and the html:file taglib. Alternatively O'Reilly have some helper classes for uploading files but I would suggest looking at how you can do it with Struts.
Regards Jim. > -----Original Message----- > From: bedetrob [mailto:[EMAIL PROTECTED]] > Sent: 25 September 2002 23:24 > To: Tomcat Users List > Subject: RE: Need quick help please > > > I used something like this and it works; here is an example > where I used > it: > <form target="rbottom" > action="detailairkitbeans.jsp"> > <input type="hidden" > name="countnode" value="<%=countnode%>"> > <input type="submit" name="sub" > value="get more info"> > </form> > But I have not used <FORM ENCTYPE="multipart/form-data" actually. > Rob > > > -----Original Message----- > > From: Ralph Merrick [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, September 25, 2002 4:22 PM > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > > [EMAIL PROTECTED] > > Cc: [EMAIL PROTECTED] > > Subject: Need quick help please > > > > > > > > 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]> PLEASE READ: The information contained in this email is confidential and intended for the named recipient(s) only. If you are not an intended recipient of this email you must not copy, distribute or take any further action in reliance on it and you should delete it and notify the sender immediately. Email is not a secure method of communication and Nomura International plc cannot accept responsibility for the accuracy or completeness of this message or any attachment(s). Please examine this email for virus infection, for which Nomura International plc accepts no responsibility. If verification of this email is sought then please request a hard copy. Unless otherwise stated any views or opinions presented are solely those of the author and do not represent those of Nomura International plc. This email is intended for informational purposes only and is not a solicitation or offer to buy or sell securities or related financial instruments. Nomura International plc is regulated by the Financial Services Authority and is a member of the London Stock Exchange. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>