This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes file upload 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 "file upload" Watch "file upload" New topic

file upload

kiran kumar

Joined: Feb 07, 2005
Posts: 29
I used file upload in my struts, it is uploading file.
I used two jsps. say for ex: jsp1 and jsp2;
<html:file property="f1" />tag is used in jsp1 ;
it is uploading the file and i can access that file jsp2 when i submit the button in jsp1.(assume action classess are implemented)
I used back button in jsp2 to come for jsp1.But
when i click back button in jsp2 the filepath and file name are
disappearing in jsp1. I want to see the same file in jsp1 in <html:file tag How can i
achieve this.
Please reply for my question.
Arulanand Dayalan
Ranch Hand

Joined: Aug 10, 2005
Posts: 124
I think you cant do that.

I agree. Here's the link:
subject: file upload
Similar Threads
passing JS values in struts-2
jsp:include & jsp:param
How to do it in Struts, pls. help!
how to link actions in struts?-help!
File upload