Re: Class is not a servlet

2007-04-30 Thread Luca Sabbio
: Saturday, April 28, 2007 11:33 AM Subject: Re: Class is not a servlet Seriously, David's recommendation is the way forwards. When he said, 'read the spec', he was indicating that you should at least have a basic familiarity with what a Servlet is. There are *extensive* and complete tutorials

Re: Class is not a servlet

2007-04-28 Thread Pid
Seriously, David's recommendation is the way forwards. When he said, 'read the spec', he was indicating that you should at least have a basic familiarity with what a Servlet is. There are *extensive* and complete tutorials from basic to advanced to found for free online. Search Google (other

Class is not a servlet

2007-04-27 Thread Luca Sabbio
get this error: javax.servlet.ServletException: Class PartsXupdate is not a Servlet I think that my web.xml is ok ?xml version=1.0 encoding=ISO-8859-1? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com

RE: Class is not a servlet

2007-04-27 Thread Peter Crowther
From: Luca Sabbio [mailto:[EMAIL PROTECTED] public class PartsXupdate extends HttpServlet { ... - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Class is not a servlet

2007-04-27 Thread David Smith
) { col.close();} } } } But when I deploy the application on Tomcat and I do my post action http://localhost:8080/PartsXupdate/PartsXupdate from the form of provajava.html I get this error: javax.servlet.ServletException: Class PartsXupdate is not a Servlet I think that my web.xml is ok

Re: Class is not a servlet

2007-04-27 Thread Luca Sabbio
Thank you very much for the two answers. I don't know Java servlet enough to make PartsXupdate work but now I have a way to follow. I highly recommend reading the servlet spec. There you will see a servlet extends HttpServlet and overrides one or more of it's methods.