Why not avoid this problem since you are using a tile and simply add a meta
refresh at the top?  That way you know the page should change and you will
have no problem with how Tiles handles output.  Personally, I think putting
a response.sendRedirect() in a jsp is the wrong place.  I try to keep
redirect to a blank page or a new Forward(...) with redirect="true" in the
action an its outcome.

Regards,
David

-----Original Message-----
From: Truong Xuan Tinh [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 12:20 PM
To: Struts Users Mailing List
Subject: response.sendRedirect() doesn't work!


 Hi every body,
I've have a problem with the response.sendRedirect called in a jsp file,
I've used Tile in my project. I've set the autoFlush="false" and set the
bufferSize to a big number (bufferSize="2048kB") in the master page (of
Tile) and in the *child* jsp file where the response.sendRedirect() was
called, I've also set page directive the same as the master page. But it
didn't work. Some told me that  the following snippet work for them:
<%
    response.sendRedirect("abc.do");
    return;
%>
I've also tried this, but it didn't work either. I've used Struts 1.2.9
and Tomcat 5.0.30.
Please help, thank you very much.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to