aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Get full path from html:file" Watch "Get full path from html:file" New topic
Author

Get full path from html:file

Ann Maria
Greenhorn

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
document.formname.filetagname.value
Damian Lopez
Greenhorn

Joined: Jul 26, 2005
Posts: 17
Hi,
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!?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Get full path from html:file