Yes, WEB-INF/classes is always part of the classpath for that specific webapp. But 
like Arnaud said; did you add the import statement to your jsp page?

-----Original Message-----
From: David Zellhoefer [mailto:[EMAIL PROTECTED]
Sent: den 24 juni 2003 12:03
To: Tomcat Users List
Subject: Re: easy question


I thought Tomcat is checking ~/WEB-INF/classes automatically. Is there a 
way to make this possible? Otherwise I have to change enviroment 
variables everytime the server changes...
But I will try this. Thanks.

Aggarwal, Gautam (IE03) wrote:

> This happens when Tomcat cannot find the classpath to a class being used in
> a JSP page, in your case - Test. Go to the environment settings of your
> computer and specify the classpath upto the folder ~/WEB-INF/classes.
> 
> Bye,
> Gautam
> 
> -----Original Message-----
> From: David Zellhoefer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2003 2:59 PM
> To: [EMAIL PROTECTED]
> Subject: easy question
> 
> 
> Hello!
> 
> I have a easy question for you:
> 
> 1)I have written a class called Test, compiled it and placed it in
> ~/WEB-INF/classes/
> 2) Now I want to use objects from Test in a JSP, but if I try to use
> Test Tomcat always tells me that it is not able to resolve the symbol.
> 
> What shall I do? Do I need to change the web.xml?
> 
> Thanks,
> 
> David
> 
> PS: I've restarted Tomcat 4.1.12 everytime I changed something in the
> WEB-INF directory.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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


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

Reply via email to