Actually, it's not a servlet per se: it's a descendant of HttpServlet,
so it's not called directly.

Paul Ung wrote:
> 
> Also make sure you have an entry in your [webroot]/WEB-INF/web.xml file for
> the servlet. For example:
> 
> <servlet>
>   <servlet-name>CacheHttpServlet</servlet-name>
>   <servlet-class>com.oreilly.servlet.CacheHttpServlet</servlet-class>
> </servlet>
> 
> -----Original Message-----
> From: A. Alfred Ayache [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 01, 2002 5:00 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat and CacheHttpServlet
> 
> I'm picking my way through Jason Hunter's book, and hit the first
> example to use his com.oreilly.servlet package.  I've successfully
> compiled the servlet, but when I try to execute it I get an internal
> server error, with root cause:
> 
> java.lang.NoClassDefFoundError: com/oreilly/servlet/CacheHttpServlet
> 
> OK, so the server can't find CacheHttpServlet.  How do I hook them up?
> 
> Thanks,

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to