I used the IDE (eclipse) wizard to override the HTTPServlet methods. So initially the methods were 'protected' but because of the described problems I changed it to 'public'. So I think that the methods are truly overriden instead of creating a new method. In the debugger I can see that my methods are called.
The servlet itself should just forward the request to another servlet in an another project on the same server. And when I call that url directly it works as aspected. So the 'de.ini' parameter should not cause a problem (and I've just tried it). > -----Ursprüngliche Nachricht----- > Von: "Tomcat Users List" <users@tomcat.apache.org> > Gesendet: 23.03.06 11:58:13 > An: "Tomcat Users List" <users@tomcat.apache.org> > Betreff: Re: error calling servlet (in Tomcat) > Lothar Krenzien wrote: > > Hi, > > > > I've developed several servlets (with Tomcat) in the past without any > > problems. But now I've a servlet which makes me confusing. When I call the > > servlet url from a browser I get only error 405 ("HTTP method GET is not > > supported by this URL"). Because I don't have any idea about the reason > > I've tried to keep the servlet as simple as possible. But I get always the > > same error. So what could be wrong ? > > > [...] > > > > -- class sunreader.service.TransferData > > package sunreader.service; > > > > public class TransferData extends HttpServlet { > > ... > > public void doGet ... { > > If you had given the complete method signature, that might have been > informative. So this is just a WAG: you didn't override > HttpServlet#doGet(HttpServletRequest, HttpServletResponse) > but defined a new method doGet with a different signature. Maybe simply by > reversing the parameters. For example > public void doGet(HttpServletResponse response, HttpServletRequest request) > won't override any method from HttpServlet. > > Regards > mks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________________________________________________ Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach! Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]