First, what release of Tapestry are you using ... looks like 2.2-alpha-2?.
For that release you have to map the servlet in the web.xml as follows: <servlet-mapping> <servlet-name>MyApplicationServlet</servlet-name> <url-pattern>/app/*</url-pattern> </servlet-mapping> That's cause 2.2-alpha-2 puts extra URL information into the path info (the portion of the URI after the servlet is identified). This is changed (back) in 2.2-alpha-4, any and all extra information is passed as query parameters. ----- Original Message ----- From: "Craig Goss" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 6:07 PM Subject: [Tapestry-developer] Frame Component > I've reviewed the documentation (there isn't much) and the list entries for > the Frame component and I'm still having a problem. It looks as though I > should be able to do the following: > > ============= MyApplication.application > <snip surrounding spec> > <page name="Menu" > specification-path="/org/animallogic/animalweb/tap/Menu.jwc"/> > </snip> > > ============= Border.jwc > <snip surrounding spec> > <component id="insertMenu" type="Frame"> > <static-binding name="page">Menu</static-binding> > </component> > </snip> > > ============= Border.html > <snip surrounding html> > <frameset rows="30,*" frameborder="NO" border="0" cols="*"> > <frame jwcid="insertMenu" name="main" scrolling="auto" > marginwidth="0" marginheight="0"/> > </frameset> > </snip> > > But when I package everything into a .war and deploy, my frames can't be > found. In their place I see the message "HTTP ERROR: 404 Could not find > resource for /<context>/page/Menu. RequestURI=/<context>/page/Menu". Am I > correct in assuming that the statically bound parameter in the insertMenu > component reference should insert the Menu page as a frame? > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Tapestry-developer mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/tapestry-developer > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
