Hi, I have the following tags in my struts.config.xml: <plug-in className="org.apache.struts.tiles.TilesPlugin" > <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"/> <set-property property="definitions-debug" value="1" /> <set-property property="definitions-parser-details" value="0" /> <set-property property="definitions-parser-validate" value="true" /> </plug-in>
I suppose that tiles plug-in is set up correctly. I still have the error: "No context-relative URI specified via the 'parameter' attribute". I think that the action mapping wants to see a "paramter" attribute right after the "type" attribute. Right now, what I have is: <action path="/Home" type="org.apache.struts.actions.ForwardAction"> <forward name="success" path=".frame.Home"/> </action> what should I do? --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > -----Original Message----- > > From: Caroline Jen [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September 01, 2004 10:47 AM > > To: [EMAIL PROTECTED] > > Subject: To Show Web Home Page That Consists of > Tiles > > > > <snip/> > > > > > > > .frame.Validation is a piece of tile. The error > > message I got is: "No context-relative URI > specified > > via the 'parameter' attribute" > > The error message indicates that the tiles plug-in > is not intercepting the forward. Please check the > documentation and make sure you have the > struts-config.xml set up correctly to use the the > tiles plug-in/controller. > > > > > > My tiles-defs.xml looks like: > > > > <!DOCTYPE tiles-definitions PUBLIC > > "-//Apache Software Foundation//DTD Tiles > > Configuration//EN" > > > > > "http://jakarta.apache.org/struts/dtds/tiles-config.dtd"> > > > > <tiles-definitions> > > <definition name=".frame.Base" > > path="/frame/common/layouts/Frame.jsp"> > > <put name="title" value ="${title}"/> > > <put name="upperbar" > > value="/frame/common/upperbar.jsp"/> > > <put name="message" > > value="/frame/common/message.jsp"/> > > <put name="content" value="${content}"/> > > <put name="lowerbar" > > value="/frame/common/lowerbar.jsp"/> > > </definition> > > <definition name=".frame.Validation" > > extends=".frame.Base"> > > <put name="content" > > value="/frame/content/home.jsp"/> > > </definition> > > </tiles-definitions> > > > > > > > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail is new and improved - Check it out! > > http://promotions.yahoo.com/new_mail > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]