So the redirect would happen on the tiles definition and then the servlet would render the tile ? So basically you would do the redirect in struts 2 and then have it intrcepted by this servlet ?
When redirect will happen, the jsp would still have the values set from action ? The tile definition are under web-inf , I wonder how the redirect will see the tiles definition? Can you please guide me ? Thanks On Tuesday, February 15, 2011, Antonio Petrelli <antonio.petre...@gmail.com> wrote: > 2011/2/15 Muneer Malik <tutti...@gmail.com>: >> I am using tiles 2 in struts 2 via a plugin. I believe the way tiles >> 2 is rendering the definition using forward. Is there a way we can use >> 'redirect' instead of a forward? > > Not directly. However you can use the Tiles dispatch servlet to do it, > and redirect normally: > http://tiles.apache.org/framework/tutorial/advanced/utils.html > > Antonio > -- Confidentiality Notice ------------------------------- THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. IF YOU ARE NOT THE INTENDED RECIPIENT, OR THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION, DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED. IF YOU HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764. THANK YOU.