Hi,
maybe it's not the right mail-group ... but ...

I want to upload a file, but I want to suggest a filename ... (using RFC1867
especification)

-- here is my code --
<form method="POST" action="UpLoadFile_SubmitInsert.jsp"
enctype="multipart/form-data">
  <p><b>Id</b> :<%=request.getParameter("_ErwId")%>
  <p><b>filename</b> :<%=request.getParameter("ErwReportfile")%><br>
  <input type="file" name="filename"
value="<%=request.getParameter("ErwReportfile")%>">
  <input type="submit" value="Start UpLoad" name="B1"></p>
</form>
-- end ---
whe I execute the JSP ... I have this code
--- begin ---
<form method="POST" action="UpLoadFile_SubmitInsert.jsp"
enctype="multipart/form-data">
  <p><b>Id</b> :40
  <p><b>filename</b> :C:\Program Files\Oracle\JDeveloper
3.1\myclasses\template2.erw<br>
<input type="file" name="filename" value="C:\Program Files\Oracle\JDeveloper
3.1\myclasses\template2.erw">
  <input type="submit" value="Start UpLoad" name="B1"></p>
</form>
---end ---

But I don't get the suggested name into file field.

Is it possible ?

Thanks,
Eduardo.

===========================================================================
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

Reply via email to