• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

?nteresting problem about Apache Tomcat 4.1.24

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody,
i want do exercise servlet and jsp so i installed tomcat for SCWCD.When tomcat installed,i did instalations step at http://www.moreservlets.com/Using-Tomcat-4.html.
now tomcat's examples run clearly.but my example didnt run.(i have /ROOT/myexam/classes and /ROOT/myexam/lib)i put servlet into classes.then web.xml written class-name, class-mapping.
When i started this servlet, i saw (exception
javax.servlet.ServletException: Wrapper cannot find servlet class Hi or a class it depends on)
i can access anything for example gif etc. from this folder.
i have tried for 2 days but i don't understand about this problem.if you know this problem.I will happy.
i hope i will solve it.Thanks ...
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
'classes' and 'lib' should be under 'Root/myExample/WEB-INF'. Your example has it under 'Root/myExample'.
Thanks,
 
rusen ali
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi sumeer khosa,
thanks for your advice.i solved it
greeting from turkey ...
( i love JavaRanch )
 
reply
    Bookmark Topic Watch Topic
  • New Topic