Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP - BEAN Error ???

 
Tejas Kansara
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5040
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Venugopal nandikolla
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 213
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic