This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Error handling in file upload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Error handling in file upload" Watch "Error handling in file upload" New topic
Author

Error handling in file upload

Anjali Naveen
Greenhorn

Joined: Jun 28, 2005
Posts: 15
Im uploading a file using the struts file upload tag, if an error occurs, the file name is not retained. all the other text fields are retained. Is there any way to get around this problem .

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60738
    
  65

Moved to the Struts forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error handling in file upload
 
Similar Threads
How to retain a selected file path in a input type="file" in html
Trinidad file upload
Upload problem using MultiPartRequest
HotSpot Virtual Machine Error, Internal Error
calling getInputStream after getParameter