But if the form type is FORM enctype="multipart/form-data" you can't.
> that's pretty easy to do ..
>
> <%
> String filename=request.getParameter("test")
> if (filename!=null){
> out.println(filename);
> }
> %>
> <html>
> <body>
>
> <form action="test.jsp">
> <input type="file" name="test">
> <input type=submit name="send!">
> </form>
> </body>
> </html>
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets