File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes file download option after redirecting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "file download option after redirecting" Watch "file download option after redirecting" New topic

file download option after redirecting

Vicky Mohan
Ranch Hand

Joined: Oct 14, 2004
Posts: 130
Hey All,

I am using struts / Weblogic application server in our application.

I have a Interface that has few form elements. On Submit, i save all the entries and then generate a file and then redirect to another page confirming the changes made. Now, i need to give the User the option of Open / Save to access the file i have generated. Users do not want to have the option of having a button to download .....

I was trying something but i was either not able to get the file open OR all the contents to be displayed in the browser also getting added to the FILE.

Any help will be greatly appreciated, i am struck up with this issue for a day now with no real solution .
I agree. Here's the link:
subject: file download option after redirecting
It's not a secret anymore!