tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Brogden <>
Subject Re: xsl java extensions won't work in tomcat
Date Tue, 13 Feb 2001 20:21:04 GMT wrote:
> hi all,
> i have an xsl stylesheet that includes calls to a java class of my own
> devising.  when i call this stylesheet via the command line (bypassing
> tomcat), everything works just swell.  However, when the same thing is
> called from within a jsp page, i get the following error:
> Call to extension function failed: File
> "file:/home/dschneid/cvs/cms/rosebud20/com/thestreet/cms/stylesheet/com.thestreet.cms.stylesheet.StylesheetDBHandler"

............. clip
> the stylesheet and the class file are in the same directory.

That is the key point. Web resources such as style sheets, images, 
applet class files can NOT be served from the WEB-INF/ directories
The simplest thing to do is to specify a <base> URL pointing to
a URL where these resources live.

Java Cert mock exams
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

View raw message