[EMAIL PROTECTED] 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.

-- 
WBB - [EMAIL PROTECTED]
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to