class placement in Tomcat 4.1

my tomcat is installed in E:\Program Files\Apache Group\Tomcat 4.1

(the root of web is set (by default) to E:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT

my system root is E:\

I create a web application in E:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT\app

problems raise now, where should i place the class file for my web application?

i store them in E:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT\app\WEB-INF\classes, but run time error occurs saying class not found.

Where should i store the classes?

thx all in advance.

[595 byte] By [loko456a] at [2007-9-29 16:23:03]
# 1

hey loko,

sometime TOMCAT is unable to find the .class files if they are not in

side a package. So compile all the java file including them within a

package and then place the package along with .class files in the

E:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT\app\WEB-INF\classes

of ur system. Your tomcat would be able to find the classes.

Regards,

Goodieguy

goodieguya at 2007-7-15 14:40:12 > top of Java-index,Archived Forums,New To Java Technology Archive...