wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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 www.apache.org

So much trouble in the world -- Bob Marley
Consider Paul's rocket mass heater.
subject: How to use bean with Java web server ????
Similar Threads
Where to place the Bean package in J2EE server
Servlets using beans' methods
denie to access projects file
Uploading and using a file from a web page