File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes getting full path from html:file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "getting full path from html:file" Watch "getting full path from html:file" New topic
Author

getting full path from html:file

john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
I have the following
<html:form action="HtmlFile.do" enctype="multipart/form-data">
Please select the file that you would like to upload:<br />
<html:file property="file" /><br /><br />

<html:submit />
</html:form>
Once the user selects a file, in the textbox the full path of the file is shown. I was wondering how can one obtain this value after the user has hit submit?
Thank you all for your time
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting full path from html:file