aspose 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
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
 
Similar Threads
request paramter problem
How can I upload a File using Struts
Exception is unable to resolve: validation
why we need to provide alias naming to the servlet in web.xml
file upload in directory