This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring forum!
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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: getting full path from html:file
It's not a secret anymore!