Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Trying to use import in a JSP


Message #1 by "gareth gale" <gng@h...> on Wed, 21 Feb 2001 16:50:10
Newbie question :

I'm trying to import my own class into a JSP via the 

<%@page import="mypackage.*"%>

statement.

I'm using Tomcat on Linux and I get the error on the web page :-

org.apache.jasper.JasperException: Unable to compile class for <<my 
servlet>>

Package mypackage not found in import.

I've not really used Tomcat so I think this is a CLASSPATH issue (other 
import statements like java.sql.* work fine). How do I check and set the 
CLASSPATH ?

Thanks for any help !

  Return to Index