Thanks david, The applications i am working on is not in struts and i was planning to migrate it into tiles before moving into struts. Looks like it is not possible without migrating the application into struts.
"David G. Friedman" <[EMAIL PROTECTED]> wrote:Saravanan, This point has been discussed in the last 30 days. It usually came down to the idea that tiles has already started writing to the output stream so the headers are already committed, and often sent already. If you want do perform business conditions like that, I recommend you put them into your action and make a forward which your action can use INSTEAD of your tile. Regards, David -----Original Message----- From: Saravanan Veerappan [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 5:07 PM To: [EMAIL PROTECTED] Subject: tiles and redirect (non-struts application) I have a existing application (non-struts) and i would like to utilize tiles to take advantage of templates for layout. When i inlude redirect in the tiles body the redirection doesn't work saying response has been already comitted. Any suggestions? Here is my sample code body.jsp ------------ if(bussiness_conditions){ response.sendRedirect("someother.jsp"); } else{ //Show response here. } __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? Meet the all-new My Yahoo! – Try it today!