@now i placed this jsp and a folder Userpack containig ConnectionBean.class in Root of Tomcat 6.0
Wrong placement. Web project structure under Tomcat is as follows
PATH_TO_TOMCAT_FOLDER/webapps/YOUR_PROJECT_NAME/*.html, *.jsp
can have folder img (for images) and css (for cascading style sheets)
WEB-INFweb.xml
lib - for all additional JAR files required by your project
classesbeans
Therefore you place your UserPack folder in place of beans folder and put that ConnectionBean inside that folder
More documentation can be found on Tomcat website
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
The name of the folder that holds Beans does not matter, it is by your preferences!
Leaving Java files in folder after server deployment is irresponsible of you...
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
1) Start using proper English it is one of the forum rules
2) You did not mention anything, just went on rants that the poster should not put his content in bean folder
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
Personal attacks on forum members are not tolerated
Sort your dictionary as there are no English words as u, nd, ur, ny, dnt, r but for sure you, and, your, any, don't, are
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
Please read the whole post. It was not my problem but other member's! I just provided solution.
Please read the forum rules
We strongly encourage all posts to be in full-sentence English. Please do not use "leet" speak or "chatroom" speak.
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902