wood burning stoves 2.0*
The moose likes Struts and the fly likes Response Redirect? Problems with using the Response object. 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 "Response Redirect? Problems with using the Response object." Watch "Response Redirect? Problems with using the Response object." New topic
Author

Response Redirect? Problems with using the Response object.

Paul Duer
Ranch Hand

Joined: Oct 10, 2002
Posts: 98
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Response Redirect? Problems with using the Response object.
 
Similar Threads
Techniques to hide password
Anyone know how to save the response (html) of a jsp page to a file
A form with manu submit buttons
How to persist the JSP produced output to a file (without using the browser's save)
SWT Browser Response Header or URL