This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes How to use  bean with Java web server ???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSP
Bookmark "How to use  bean with Java web server ????" Watch "How to use  bean with Java web server ????" New topic

How to use bean with Java web server ????

Dharmin Desai
Ranch Hand

Joined: Feb 28, 2002
Posts: 81
I m using jsp : useBean tag to call bean from jsp page.
I hv compiled .java file (of bean) with javac and put it at Classes folder at JAvaWebServer dir.
But my jsp page is unable to find that bean class.
Please help me : How to use bean within jsp file while using Java Web Server ?

SCJP2 (93%),SCWCD(88%)<br />-------------------------------<br />Never under estimate yr self, just represent yr profile in proper manner.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
I am not sure about JWS, but some servers require that your bean class be in a package. If you put it in a package, create a corresponding folder in the classes directory to hold your class files.
You are probably better of downloading Tomcat from

So much trouble in the world -- Bob Marley
I agree. Here's the link:
subject: How to use bean with Java web server ????
jQuery in Action, 3rd edition