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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Redirect after DownloadAction" Watch "Redirect after DownloadAction" New topic

Redirect after DownloadAction

Jamie Lee

Joined: Jan 31, 2007
Posts: 17
Hi everyone,

Does anyone know how to redirect to another JSP after making a call to a DownloadAction in struts? After a user downloads a file, I want them to be redirected to a success page, but this seems impossible to do after the file has been sent in the response.

Thanks in advance for your help!
- Jamie
moi tulou

Joined: Oct 06, 2010
Posts: 3
Jamie, have you got the answer of your question since all this time?

I'm facing similar problem : how can I refresh my calling page after download is successful.

If you have the answer, i'm interested

I agree. Here's the link:
subject: Redirect after DownloadAction
It's not a secret anymore!