Re: Class is not a servlet

2007-04-30 Thread Luca Sabbio
from basic to advanced to found for free online. Search Google (other search engines are available). Clue: Servlets are not written like a bean Class, you do not use the main(...) method. rgds Pid Luca Sabbio wrote: Thank you very much for the two answers. I don't know Java servlet

Class is not a servlet

2007-04-27 Thread Luca Sabbio
Hi, I'm working with Java 1.5.0.06, Tomcat 5.5.16 with Xindice 1.1b4 and Cocoon 2.1.10 deployed (and working). I try to run a simple web application based on a servlet that update the Xindice XML DB By the command line the PartsXupdate.java is compiled and the PartsXupdate.class works. import

Re: Class is not a servlet

2007-04-27 Thread Luca Sabbio
, 1.0); service.updateResource(nome, xupd); } catch (XMLDBException e) { System.err.println(XML:DB Exception occurred + e.errorCode); } finally { if (col != null) { col.close();} } } } From: Luca Sabbio [mailto:[EMAIL PROTECTED] public