http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2631 *** shadow/2631 Sun Jul 15 09:15:52 2001 --- shadow/2631.tmp.24988 Sun Jul 15 09:15:52 2001 *************** *** 0 **** --- 1,28 ---- + +============================================================================+ + | JspGenerator doesn't allow relative src | + +----------------------------------------------------------------------------+ + | Bug #: 2631 Product: Cocoon 2 | + | Status: NEW Version: 2.0alpha CVS | + | Resolution: Platform: Other | + | Severity: Normal OS/Version: Other | + | Priority: Other Component: core | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + When the JspGenerator src parameter is a path relative to the current sitemap + context, the generator will fail, producing a + org.apache.jasper.JasperException: Unable to compile class for JSP + + To reproduce: + * Remove the leading slash from the JSP sample pipeline src parameter. It + becomes: + <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> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]