I'm upgrating to tomcat 4.0.3 from 3.2.1, I placed my application into
/webapps but when tomcat compiles my jsp pages it can't find classes I have
imported in my jsp page.

error:
===
org.apache.jasper.JasperException: Unable to compile class for JSPNote:
sun.tools.javac.Main has been deprecated.

C:\Program Files\Apache Tomcat 4.0\work\localhost\ihra\pr$jsp.java:9: Class
com.pdd.utils.ihra.IhraRoutines not found in import.
                          com.pdd.utils.ihra.IhraRoutines;
                          ^

jsp page:        /webapps/ihra/pr.jsp
jsp header:    <%@ page language="java"
import="com.pdd.utils.ihra.IhraRoutines"%>
class:        /webapps/ihra/classes/com/pdd/utils/ihra/ihraRoutines.class

If I copy
       webapps/ihra/pr.jsp   to webapps/examples/
and     /webapps/ihra/classes/com/pdd/utils/ihra/ihraRoutines.class   to
/webapps/examples/classes/pdd/utils/ihra/ihraRoutines.class

and I call http://localhost/examples/pr.jsp  it works !!!  but
http://localhost/ihra/pr.jsp doesn't work.

I have defined this context in /conf/server.xml

        <Context path="/ihra" docBase="ihra" debug="0"
                 reloadable="true"/>

I've seen people asking the same but couldn't find any answer for my case.
Usually the advice is to use <%@ page
import="com.pdd.utils.ihra.IhraRoutines"%> but I already have it that way.
And besides, it works under /webapps/examples but not under my app
/webapps/ihra

Am I missing some point when I deploy my application ? Is the <context> tag
all I have to include for Tomcat to be able to see my application or there
is something else ?

  Thanks,
   Pablo.







--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to