You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Serge A. Redchuk" <s....@kse.kiev.ua> on 2002/02/08 09:27:14 UTC

Re[2]: WEB-INF/classes

Hello Anla,

>> at setting up a new context for Tomcat, I must have forgotten
>> something, because tomcat doesn't find my classes in 
>> WEB-INF/classes. The following fault appears:
>> 
>> login_0005ftest$jsp.java:71: Class org.apache.jsp.DBSConnect not found.
>>                                               DBSConnect connect 
>> = new DBSConnect();
>> 

If you use = new DBSConnect(); in jsp code:
1. you should write in JSP:
   <%@ page import="org.apache.jsp.DBSConnect" %>
2. Place jasper-....jar files in WEB-INF/lib

I think it'll be enough.

AB> I'm not familiar with JSP, but it looks like all you need is to import your DBSConnect,
AB> I don't think it really in org.apache.jsp package. Right?

>> Until now I thought: When Tomcat is restarted, it recognizes the 
>> content in WEB-INF/classes. 
>> 
>> But perhaps I have to make some entries in server.xml or web.xml 
>> referring to this classes?
>> 
>> Thank you for any help
>> 
>> Anja       
>> 


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>