File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes html:file problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:file problem" Watch "html:file problem" New topic

html:file problem

Damian Lopez

Joined: Jul 26, 2005
Posts: 17
I am uploading an image using <html:file> tag and i�d like to know how can i see the name of the file displayed after it loads in the jsp.
If i see the html source after the jsp reloads, the name is there in the value attribute:

but the text field is empty, any ideas?
I agree. Here's the link:
subject: html:file problem
Similar Threads
Exception is unable to resolve: validation
incompatible: File Upload + Validator Client side JS
Why File name is becoming null in action class ?
Get full path from html:file
How can I upload multiple files using html:file