Yes, you are right. I tried the same and I do not succeed either.
Leon
---------------------------------------------------------------
name: Leon Daanen
E-mail: [EMAIL PROTECTED]
Tel.: +31 77 359 5172
Fax.: +31 77 359 5337
Location: 3G20
Oce Technologies B.V.
www: http://www.oce.com
Tel.: +31 77 359 2222
P.O. Box 101
5900 MA Venlo
The Netherlands
---------------------------------------------------------------
Opinions and views expressed in this message
are my own, they do not necessarily represent
those of Oc�
---------------------------------------------------------------
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Jufatrio
Sent: Friday, May 12, 2000 8:35 AM
To: [EMAIL PROTECTED]
Subject: Re: File Select and JSP
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
===========================================================================
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