Hi Christian,

Try placing the class in tomcat_home\shared\classes .  That works for 
me.

take care - edwardJones
On Wed, 10 Jul 2002, Christian J. Dechery wrote:

> I have a class (let's name her A)... and I want it to be accessed by all webapps...
>  
> so I tried placing her at tomcat_home\classes, tomcat_home\common\classes... but 
>when I execute the JSP it says :
> Generated servlet error:
> C:\Tomcat 4\work\localhost\teste1\teste$jsp.java:59: Class org.apache.jsp.A not 
>found.
>                  A tcd = new A();
>  
> here is the code of the JSP:
> <@page import="A">
>  
> <%
>  A tcd = new A();
>  out.println("A URL para esse contexto � \""+tcd.myContextURL()+"\".");
> %>
>  
> why is this happening?
>  
> .:| Christian J. Dechery
> .:| FINEP - Depto. de Sistemas
> .:| [EMAIL PROTECTED]
> .:| (21) 2555-0332
> 
> 

-- 
****************************************************************************
 Edward R. Jones, Ph.D.            |  email:   [EMAIL PROTECTED]
 Texas A&M Univ. - Corpus Christi  |  phone:   (361) 825-5840 
****************************************************************************


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

Reply via email to