Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

JSP - BEAN Error ???

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Mo-om! You're embarassing me! Can you just read a tiny ad like a normal person?
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic