This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes Get 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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Get full path from html:file" Watch "Get full path from html:file" New topic

Get full path from html:file

Ann Maria

Joined: Sep 09, 2005
Posts: 27
How to get full path(d:\abc\xyz.gif) from html:file, while the return type of getFile() is Formfile.
G.T. Reddy
Ranch Hand

Joined: Jun 25, 2002
Posts: 45
document.[formName[.[filetag name].value
G.T. Reddy
Ranch Hand

Joined: Jun 25, 2002
Posts: 45
Damian Lopez

Joined: Jul 26, 2005
Posts: 17
and do you know how to display the name in the html:file text field of the uploaded file after the jsp reloads?
I cant see it displayed, even that looking at the html source code the value attribute of the input file is filled ok!?
I agree. Here's the link:
subject: Get full path from html:file
jQuery in Action, 3rd edition