Hi Alex, You don't need a main method anymore nor a Component. Just your Application subclass is necessary for the Servlet adapter.
The dependency on Servlet API isn't necessary as the Servlet container will have its own copy. It is only useful for the Jetty connector which needs it. Best regards, Jerome > -----Message d'origine----- > De : news [mailto:[EMAIL PROTECTED] De la part de Alex > Envoyé : mercredi 8 août 2007 12:51 > À : [email protected] > Objet : Re: How to use servlet connector? > > > Alex <alexlam.hk <at> gmail.com> writes: > > Hi, > > http://www.restlet.org/documentation/1.0/faq#02 > > Actually, i have followed the instruction above. > However, there are a number of queries in mind: > > Why do we still need a main in a servlet container? > > Why still need a port in the main > while the servlet container has already got one? > > What is the use of lib/javax.servlet_2.4/javax.servlet.jar and > lib/javax.servlet_2.5/javax.servlet.jar? Any relationship with > lib/com.noelios.restlet.ext.servlet_2.4.jar? > > Thanks. > > Yours, > Alex >

