File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes fileupload- default file name-ujent help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

fileupload- default file name-ujent help

Rafter
Greenhorn

Joined: Nov 16, 2001
Posts: 7
Hi I am using the com.oreilly.servlet.MultipartRequest for uploading the file, but I want to set the default file value in HTML, beacuse it is fixed file which I want to upload.How to do this ?I have tried like this but servlet is giving file as "null".
<INPUT TYPE=FILE NAME=file value="E:/mail/NewTest.class">
Please solve my problem.
Can any body help me?;
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Oddly enough, someone else asked the exact same question here! http://www.javaranch.com/ubb/Forum7/HTML/006822.html

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: fileupload- default file name-ujent help