Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat4.0 exceptions

 
Yurong Chen
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have installed Tomcat4.0 in my Windows2000. I can run the examples provided by Tomcat4.0 successfully. However, when I run my own jsp program, the Tomcat gives me error message as followed:

I don't know why this happens. I have runned the same program on the Host Tomcat of our department. It works well. I think the problem should be the classpath. How to set the right classpath??
Thank you in advance!
Yurong
 
Yurong Chen
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have solved the above problem. I didn't put the javabean in one specific package and put it inside the classes folder directly. Now I put the javabean in one specific package. It works well.
Yurong
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic