How to Import java classes in a jsp file? 2004-01-23 - By Apostolidis Apostolos
Back 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.
Can you help me please?
Thanx in advance
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|