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


Win a copy of Android Security Essentials Live Lessons 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
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!?
 
 
subject: Get full path from html:file
 
Similar Threads
html:file problem
Struts Upload Tag
File Upload
Getting the full pathname from FormFile
Struts File tag