r u able to access .basic.layout ??
Oliver Reflé wrote: > I added the line buit i still got the same error > > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von Siva > Gesendet: Mittwoch, 30. Juli 2003 10:55 > An: Struts Users Mailing List > Betreff: Re: Struts 1.1 and Tiles > > I feel you need to specify the tiles processor in the struts-config. > > Please add the following line in your struts-config.xml file > > <controller processorClass = > "org.apache.struts.tiles.TilesRequestProcessor"/> > > Siva > > Oliver Reflé wrote: > > > Hi fellows, > > At the moment I am working on tiles. But I have a big problem to get > > this stuff running. It seems that the Tiles plugin is not taking the > > forward from the Action . Below you find my config: > > > > struts-config.xml (Action Mapping & Plugin): > > > > <action-mappings> > > <action type="de.refle.TestAction" path="/test"> > > <forward name="success" path=".view.peniguins"/> > > </action> > > </action-mappings> > > > > <plug-in className="org.apache.struts.tiles.TilesPlugin" > > > <set-property property="definitions-config" > > value="/WEB-INF/tiles-defs.xml"/> > > </plug-in> > > > > tiles-defs.xml: > > > > <tiles-definitions> > > <definition name=".basic.layout" path="/jsp/basicLayout.jsp"> > > <put name="title" value="Default Title"/> > > <put name="header" value="/jsp/header.jsp"/> > > <put name="menu" value="/jsp/menu.jsp"/> > > <put name="content" value="/jsp/defaultContentPage.jsp"/> > > <put name="footer" value="/jsp/footer.jsp"/> </definition> > > > > <definition name=".view.pengiuns" extends=".basic.layout"> > > <put name="title" value="Welcome to the Store"/> > > <put name="content" value="/jsp/viewPinguins.jsp"/> </definition> > > </tiles-definitions> > > > > basicLayout.jsp: > > > > <%@ taglib uri="http://jakarta.apache.org/struts/struts-tiles.tld" > > prefix="tiles" %> <html> <head><title><tiles:getAsString > > name="title"/></title></head> <body> > > <tiles:get name="header"/><br/> > > <tiles:get name="menu"/><tiles:get name="content"/><br/> > > <tiles:get name="footer"/><br/> > > </body> > > </html> > > > > viewPinguins.jsp: contains only a simple text nothing else > > > > Action: > > > > public class TestAction extends Action{ > > > > public ActionForward execute(ActionMapping actionMapping, > > ActionForm actionForm, > > HttpServletRequest > > httpServletRequest, HttpServletResponse httpServletResponse) > > throws java.lang.Exception { > > > > System.out.println("Now in Action"); > > return actionMapping.findForward("success"); > > } > > > > } > > > > When i call now the Action with http://localhost:8080/do/test i go > > "Now in Action" printed and then i get a page not found error. > > > > HTTP ERROR: 404 /tiles/.view.penguins Not Found > > RequestURI=/tiles/do/test > > > > Maybe you have an idea ? Thx in advance > > Oliver Reflé > > > > Software Architekt _____________________________________________ > > > > jaron.DIRECT GmbH > > Performance Marketing Solutions > > > > Hanauer Landstraße 196a > > D-60314 Frankfurt am Main > > > > Fon: + 49 (069) 40 58 66 - 0 > > Fax: + 49 (069) 40 58 66 - 29 > > > > Email:mailto:[EMAIL PROTECTED] > > > > Internet www.jaron.de ______________________________________________ > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.504 / Virus Database: 302 - Release Date: 24.07.2003 > > > > > > -- > > COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test > > -------------------------------------------------- > > 1. GMX TopMail - Platz 1 und Testsieger! > > 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! > > 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. > > e-Post > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.504 / Virus Database: 302 - Release Date: 24.07.2003 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.504 / Virus Database: 302 - Release Date: 24.07.2003 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]