I just setup tomcat for my JSP server. I have a JSP program which has some class files involved, and I put them into the same directory. However, the JSP enginee always tell me that the class file was not found. Where should I put the class?? Thanks!
Hi, Tim May, I've already follow all the steps from the web site you've mentioned, but the class file still not found. "D:\jakarta-tomcat-3.2.3\webapps\ROOT\WEB-INF\classes\jsp\SQLBridge.class does not contain type jsp.SQLBridge as expected, but type SQLBridge" Is that right if I put the class file under "D:\jakarta-tomcat-3.2.3\webapps\ROOT\WEB-INF\classes\" OR, any suggestion for what I am doing wrong? Thanks for your help
The package name's components are part of the required directory structure, so what you're doing would only work if the class source code had a "package jsp;" statement in it. Otherwise, it's just D:\jakarta-tomcat-3.2.3\webapps\ROOT\WEB-INF\classes\ It's just normal Java classpath structure, no magic required.
An IDE is no substitute for an Intelligent Developer.