tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: How to Import java classes in a jsp file?
Date Fri, 23 Jan 2004 12:34:54 GMT
http://jakarta.apache.org/tomcat/faq/classnotfound.html

-Tim

Apostolidis Apostolos wrote:
>    Hi all!!I'm a newbie in Tomcat, and have a slight problem.
> I wrote a simple .jsp file, don't use any extra servlets, and want to
> create in the .jsp file an object belonging to a Dummy.java file class
> in it.
> 
>    The error i get is the following :
> 
> cannot resolve symbol
> symbol  : class Dummy
> location: class org.apache.jsp.try_jsp
>   	Dummy a = new Dummy(4, 2);
> 
> I have added the TOMCAT_HOME/webapps/webapp-name/classes/ &
> TOMCAT_HOME/webapps/webapp-name/lib paths to the CLASSPATH variable.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message