Yes it is ;-) Have you specify to use the appropriate Tiles processor (if struts1.1) or tiles action servlet (struts1.0.x) ?
In struts1.1, add following to your struts-config file : <!-- Here we specified the tiles processor --> <controller processorClass="org.apache.struts.tiles.TilesRequestProcessor"> </controller> In struts 1.0, specify to use ComponentActionServlet in web.xml. Check documentation or examples. Other users have already got this problem, check struts archive for "Weird problem with tiles and struts forward". Hope this help, Cedric [EMAIL PROTECTED] wrote: > Hi, > > Is it possible to call a tiles layout definition from an action tag in my > struts-config.xml file? > > Here's the tag in my struts-config.xml: > > <action path="/resources" > forward="site.resources.page"/> > > Here's the definition in my tiles-defs.xml: > > <definition name="site.resources.page" extends="site.mainLayout" > > <put name="body" value="/tiles/resources.jsp" /> > </definition> > > When I try to invoke this action forward I get an exception: > > java.lang.IllegalArgumentException: Path site.services.page does not start > with a "/" character > > The forward tag is expecting a value like '/resources.jsp', not a tiles > layout. Is what I'm trying to do possible? > > Thanks, > Eric. > > ********************************************************************** > This message, including any attachments, contains confidential information intended >for a specific individual and purpose, and is protected by law. If you are not the >intended recipient, please contact sender immediately by reply e-mail and destroy all >copies. You are hereby notified that any disclosure, copying, or distribution of >this message, or the taking of any action based on it, is strictly prohibited. > TIAA-CREF > ********************************************************************** > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>