This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pls Help JavaBean tomcat

 
nirail rail
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing an application using appache/Tomcat 4.1 I am trying to use javabean but when used in jsp i get error

C:\Apache\Tomcat4.1\work\Standalone\xxxx.xxxx.net\_\cms\bin\loginCheck_jsp.java:54: package com.prog does not exist
[javac] com.prog.ConnectionBean dbConnect = null;

i am running other application on same m/c on same appache/Tomcat 4.1 which is working fine pls help
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where have you placed the .jar file containing com.prog.ConnectionBean?
The Tomcat docs have a discussion of where library jar files should go - as I recall it is in /tomcat-docs/class-loader-howto.html

Bill
(why did you think "Pls Help" was necessary?)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic