File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes JSP - BEAN Error ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP - BEAN Error ???" Watch "JSP - BEAN Error ???" New topic
Author

JSP - BEAN Error ???

Tejas Kansara
Ranch Hand

Joined: Dec 14, 2000
Posts: 38
Hello friends
I am working on JSP and I am using JAVAWEBSERVER2.0
Kindly guide me where to store (BEAN) .class files and where to store our JSP files b'coz when I am storing .jsp files in c:\javawebserver2.0\examples\jsp folder and the (Bean) .class file in c:\javawebserver2.0\classes folder along with the package I am getting an error "object or class not found ...."
Could anyone guide me as soon as possible.
Thanx in advance.
Regards
Tejas
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

Tejas:
Java web server is very much outdated, hence you don't
see many people participating...
I am not familiar either. In case you would want to move
to another server like Tomcat, you would find a lot of help.
regds.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Venugopal nandikolla
Greenhorn

Joined: Feb 02, 2001
Posts: 22
Hi Tejas,
The place where you stored the bean(.class) file is correct but before starting the JWS set the classpath to c:\javawebserver2.0\classes\ and run your jws.it will work fine.
-venu
Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
Hi Tejas,
The above answer is right. you can do this also.
You can save jsp files under public_html and can save bean class files in servlets directory. (No need of setting classpath in this case)
Cheers
Binu


Sarath Mohan
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSP - BEAN Error ???
 
Similar Threads
JSP Beginner - Need Help
Where in Javawebserver2.0 should I place my Html , Jsp and Java programs
Compiling through Servlet
locating classpath in jsp...
need urgent help in jsp beans