Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use the response object to save a file and redirect a page?

Status
Not open for further replies.

pk1023

Programmer
Mar 25, 2002
1
US
HI guys,
I have a Struts action, that calls a method that outputs an EDI-Text File to the reponse object. The end result in the browser is that the EDI is transferred and the browser brings up a Open/Save dialog.

Here's the problem, after the save is done, I want to stay on the same JSP page. But when you click on the buttons on that JSP page, afterwards, the buttons don't work. It's like the page isn't really there, I get JavaScript Errors.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top