On 11/7/05, Marcio Ghiraldelli <[EMAIL PROTECTED]> wrote: > Hello, > > What would be the best aproach without hurting MVC framework in having > one central "template.jsp" and inserting into it Struts actions, such as: > > <table> > <tr><td> > <jsp:include="/Menu.do"> > </td><td> > <jsp:include="/News.do"> > </td></tr> > </table> > > The usual <jsp:include apparently only work with Servlets and/or others > JSP files, not with Struts actions.
Considering that you need to forward from action to JSP view, this will not work in fully SRV2.4 - compliant containers like Tomcat5. Works in Resin, though. http://today.java.net/pub/a/today/2005/08/04/jspcomponents.html?page=2#jsp_control Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]