Yeah, I didn't use cut & paste (and I'm sleepy already, sorry)

this is my path and class
c:\Program Files\Apache Tomcat
4.0\webapps\ihra\web-inf\classes\com\pdd\utils\ihra\IhraRoutines.class

and this is the import statement in my jsp:
<%@ page language="java" import="com.pdd.utils.ihra.IhraRoutines"%>

Can anybody assure me that all I need to add in server.xml is:
<Context path="/ihra" docBase="ihra" debug="0"  reloadable="true"/>

to make my application available for tomcat ?

thanks,
 Pablo.

----- Original Message -----
From: "Jay Gardner" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, 25. April 2002 19:46
Subject: RE: Tomcat 4 jsp compiler error. Class in imported package
notfound.


> I don't know how much of this message is cut-n-paste, but it doesn't seem
> that the case of the class name is consistent all the way through your
> message.
>
> > > import="com.pdd.utils.ihra.IhraRoutines"%>
> > > class:
> /webapps/ihra/classes/com/pdd/utils/ihra/ihraRoutines.class
>
>
> --Jay Gardner
>
> -----Original Message-----
> From: pducuron (kgb) [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 2002 8:24 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 4 jsp compiler error. Class in imported package
> notfound.
>
> Sorry, I forgot to put WEB-INF my my explanation. I'm using the normal
> aplication structure /webapps/ihra/WEB-INF/classes/....
>
>   any idea what's wrong in my tomcat configuration ?
>
>   Pablo.
>
>
> ----- Original Message -----
> From: "Phillip Morelock" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, 25. April 2002 19:15
> Subject: Re: Tomcat 4 jsp compiler error. Class in imported package
> notfound.
>
>
> > try using a WEB-INF directory in your app.
> >
> >
> > On 4/25/02 7:10 PM, "pducuron (kgb)" <[EMAIL PROTECTED]>
> > wrote:
> >
> > > 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]>
> > >
> >
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>


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

Reply via email to