tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexis LESAGE" <>
Subject JSP compilation path
Date Wed, 07 Nov 2001 17:01:57 GMT
How can I rewrite the URL passed by IIS, Apache or NES to the Tomcat ajp12
before the JSP compilation ?

The URL http://myserver:80/tomcat/HelloWorld/HelloWorld.jsp is redirected to
and the server.xml file defines a context as follows :
<Context path="/tomcat" docBase="webapps" crossContext="false" debug="0"
reloadable="true" >

The URL accessed by Tomcat is webapps/HelloWorld/HelloWorld.jsp but I have
this error :
Ctx( /tomcat ): JasperException: R( /tomcat + /HelloWorld/HelloWorld.jsp +
Unable to compile class for JSP/...../jakarta-tomcat-3.2.3/
15: Package monPackage not found in import.
import monPackage.*;
Calling directly the JSP through tomcat http works fine with the following

Is the JSP compilation classpath linked to it's  URL ?
If so,
How can I get rid of "2Ftomcat." used for the JSP compilation ?
(the monPackage directory is under WEB-INF/classes and contains the
HelloWorld.class )

Configuration if needed : Tomcat 3.2.3 on SunOs2.6 /Solaris6 and NES 3.5.1

Thank's for your help


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message