Hi Friends, I have a jsp in which there is <jsp:forward page="<%= response.encodeURL(jspDisplay) %>" />. It is working fine when I am not using tiles but when I am using tiles it is giving Following exception login.jsp] Cannot forward after response has been committed' java.lang.IllegalStateException Could you help me out from this problem Thanks in adv Sandeep
When using Struts/Tiles, you would let the Action classes handle flow control. I would remove the jsp:forward tag and use an appropriate mapping.findForward() statement in the Action's execute()/perform() to forward to the appropriate page.
Practice only makes habit, only perfect practice makes perfect.
Practice mindfully by doing the right things and doing things right.— Junilu