was it the end of the thread? I am curious about the solution, cause, of course, i'm currently stuck on same issue. let me know if you find a solution.
Thank ypu > -----Original Message----- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 11:27 AM > To: Struts Users Mailing List > Subject: RE: To Show Web Home Page That Consists of Tiles > > > I followed your instruction and changed the action > mapping accordingly. Now, I got this error: > > javax.servlet.jsp.JspException: Cannot create rewrite > URL: java.net.MalformedURLException: Cannot retrieve > ActionForward named baseStyle Are you using the <html:rewrite tag in any of the jsp pages that tiles calls? > > I searched my entire struts-config.xml, I do not see > anything like "baseStyle". And I do not use the name > "baseStyle" in my entire application. > > What should I do now? > > --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > > > > > -----Original Message----- > > > From: Caroline Jen [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, September 01, 2004 11:09 AM > > > To: Struts Users Mailing List > > > Subject: RE: To Show Web Home Page That Consists > > of Tiles > > > > > > > > > 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? > > > > Sorry... a duh moment for me..... > > the ForwardAction requires a parameter attribute, > > not a forward. So it should be something like: > > <action > > path="/Home" > > parameter=".frame.Home" > > type="org.apache.struts.actions.ForwardAction"/> > > > > > > > > > > > > > > > --- 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] > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > 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] ___[ Pub ]____________________________________________________________ Inscrivez-vous gratuitement sur Tandaime, Le site de rencontres ! http://rencontre.rencontres.com/index.php?origine=4 ___[ Pub ]____________________________________________________________ Inscrivez-vous gratuitement sur Tandaime, Le site de rencontres ! http://rencontre.rencontres.com/index.php?origine=4 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]