> From: Bernhard Huber [mailto:[EMAIL PROTECTED]] > > hi, folks > > Intro > as i could not make JSPEngine working under WLS6.1, > i choose a different approach which is more general and > ASFAIK servlet 2.3 conformant.
<snip/> > > Note by default jsp files are handled by the JSP servlet. > Cocoon servlet does not need to get mapped to *.jsp anymore. > > Configuration snippet for sittemap.xmap: I just want to remind that JSP samples where moved to /samples/jsp and the following pipelines where removed from the root sitemap (only the HEAD version), so please, do not add them there again. -- Konstantin > ... > <map:match pattern="docs/samples/jsp/*"> > <map:generate type="req-attr"/> > <!--map:generate src="docs/samples/jsp/{1}.jsp" type="jsp"/--> > > <map:transform src="stylesheets/page/simple-page2html.xsl"> > <map:parameter name="view-source" > value="docs/samples/jsp/{1}.jsp"/> > <!-- > Run-time configuration is done through these > <map:parameter/> elements. Again, let's have a look at the > javadocs: > > "[...] All <map:parameter> declarations will be made > available in the XSLT stylesheet as xsl:variables. [...]" > --> > </map:transform> > > <map:transform type="log"/> > > <map:serialize/> > </map:match> > ... > Note: You must use the request URI, as matching is already > done by the > servlet container, > thus the original sitemap JSP sample matching="jsp/*" will not work. > > bye bernhard > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]