tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Wilford <adri...@peregrine.co.za>
Subject Re: Class GtorActionServlet is not a Servlet
Date Tue, 22 Feb 2005 06:34:42 GMT
Hi,
This does not help - the class now implements Servlet, and also extends 
ActionServlet - still get Tomcat saying that this class is not a Servlet.

import java.io.File;
import javax.servlet.Servlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import org.apache.struts.action.ActionServlet;
import org.codeMound.kronos.DBConnectionPool;
import org.apache.log4j.Logger;
import org.apache.log4j.PatternLayout;
import org.apache.log4j.RollingFileAppender;

public class GtorActionServlet extends ActionServlet implements Servlet
{

Thanks,
Adrian

On Monday 21 February 2005 23:37, Michael Greer wrote:
> I would manually declare that class to be implementing the Servlet
> interface. Can't hurt (can it?) if it already does so by its ancestry.
> At least it is quick to add and test.
>
> On Feb 21, 2005, at 10:28 AM, Adrian Wilford wrote:
> > HTTPServlet
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

-- 
----------------------------------------------------------------
Adrian Wilford
Email (Home): awilford@gmail.com
Email (Work): adrianw@peregrine.co.za

Work: +27 11 722 7498
Cell: +27 83 260 4034
----------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message