It's not a secret anymore!
The moose likes Beginning Java and the fly likes new to servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "new to servlets" Watch "new to servlets" New topic

new to servlets

indira yeturu

Joined: Apr 29, 2008
Posts: 1
hi I am new to servlets and I m trying to do on headfirst java-81 page
i m getting this problem,
can anyone gimme hint why this occurs??

javax.servlet.ServletException: Wrapper cannot find servlet class web.BeerSelect or a class it depends on

root cause
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

It sounds like you don't have your classpath set up properly.
I'm going to move this to our Java In General (Beginner) forum where classpath and javac issues are handled.

We also have this FAQ entry with some tips for compiling servlets.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: new to servlets
It's not a secret anymore!