File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
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 ????
It's not a secret anymore!