File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

getting full path from html:file

john mattucci
Ranch Hand

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

<html:submit />
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:
subject: getting full path from html:file
It's not a secret anymore!