Hi That didn't do it - the jsp isn't found.
Thanks anyway. Gasper ----- Original Message ----- From: "Vadim Gritsenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 08, 2002 2:41 PM Subject: RE: How to configure cocoon2 to work when requesting a jsp file with its extension? > > From: Gasper [mailto:[EMAIL PROTECTED]] > > > > Hello > > > > I'm trying to install my app with cocoon2 and jetty, which has jsp > through > > xslt transformations and was written in orion. > > > > My question is: > > > > - Can cocoon 2 be configured to serve requests like > > http://localhost:8080/cocoon/jsp/hello.jsp (with .jsp extension) > instead of > > http://localhost:8080/cocoon/jsp/hello ? > > > > - And how to configure cocoon2 to use a directory myapp/ under cocoon/ > dir > > where all the jsp's would be. > > In sitemap.xmap, instead of > > <map:match pattern="jsp/*"> > <map:generate type="jsp" src="/docs/samples/jsp/{1}.jsp"/> > <map:transform src="stylesheets/page/simple-page2html.xsl"/> > <map:serialize type="html"/> > </map:match> > > try > > <map:match pattern="jsp/*.jsp"> > <map:generate type="jsp" src="/myapp/{1}.jsp"/> > <map:transform src="stylesheets/page/simple-page2html.xsl"/> > <map:serialize type="html"/> > </map:match> > > > Vadim > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>