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 Browser gets refreshed after file download in Struts2 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 "Browser gets refreshed after file download in Struts2" Watch "Browser gets refreshed after file download in Struts2" New topic
Author

Browser gets refreshed after file download in Struts2

Krishna Seeker
Greenhorn

Joined: May 12, 2011
Posts: 2
Hello,
I am using Struts2 file download feature. When I download a PDF, immediately, the browser gets refreshed. I could not find exact reason why it is happening.

Any solution is welcome.
struts-confg


My action class method


Thanks,
Seeker.
Krishna Seeker
Greenhorn

Joined: May 12, 2011
Posts: 2
Any solutions for it?
 
 
subject: Browser gets refreshed after file download in Struts2
 
Similar Threads
struts2 file download from database
struts2 result type stream problem
download file in struts2
downloading a file struts2
Struts2- Files DownLoad(Streaming) - as inline , attachment