I am using Tomcat 3.1 & Windows98.

I am trying to call a Jsp page " First.jsp " directly from the URL.
The first line in the Jsp is a directive  as shown below:

<%@ page import = "ConnectionPoolSevlet" >

----  Later on in the Jsp , I am accessing some static variables of this
ConnectionPoolServlet  -----

When I call this Jsp " First.jsp "  directly from the URL
 http://localhost:8080/examples/jsp/MyApp/First.jsp ) , I get the following
error in the browser :
' Class  ConnectionPoolServlet  not found in import   '

Note that I don't get this error when I am forwarding some Attributes from
ConnectionPoolServlet to this same Jsp.
Also, note that when I try to call this same Jsp again , from within itself
, using
 <a href = "First.jsp">NEXT </a>  ,
I again get this error.

I don't know why I am getting this error.
Note that I am storing the Servlet class files in
' tomcat\webapps\ROOT\WEB-INF\classes '

Is it because I should make a seperate web application & store it in a
seperate folder under webaps folder ?

Pl. help.

Sunil K. Roy

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to