This is a discussion on jsp page giving error on tomcat 5 - Redhat ; i am using tomcat 5.0.19 on linux and have created a class in package named "db" to connect the database that has function that returns the Connection object. when I compile it using ant it works compile without error fine ...
i am using tomcat 5.0.19 on linux and have created a class in package
named
"db" to connect the database that has function that returns the
Connection object. when I compile it using ant it works compile
without error fine but when used in jsp page it gves an error
"package db does not exist: import.db.*".
I tried to add $CATALINA_HOME/webapp/web/WEB-INF/classes to the
classpath too!
Could someone help me to solve this problem