File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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 ?
Thanks,
Dhamrin


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: 1506
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


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use bean with Java web server ????
 
Similar Threads
jsp
Uploading and using a file from a web page
Where to place the Bean package in J2EE server
denie to access projects file
Servlets using beans' methods