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

Reply via email to