• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

?nteresting problem about Apache Tomcat 4.1.24

 
rusen ali
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • 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 ...
 
s khosa
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hi sumeer khosa,
thanks for your advice.i solved it
greeting from turkey ...
( i love JavaRanch )
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic