Hi,
The following schematically describes my setup. Basically, there are two
servlets, one being a subclass of the other:
public class ServletA extends ParameterMethodResolvingServlet {
public void init() { ... }
public void methodA() { ... }
}
public class ServletB extends ServletA {
public void init() {
super.init();
...
}
}
The web.xml contains a mapping to ServletB. When I issue an ajax request
to that servlet calling methodA(), the following error occurs:
HTTP ERROR: 501 No such method: methodA
But everything runs fine when I change ServletB to:
public class ServletB extends ServletA {
public void init() {
super.init();
...
}
public void methodA() {
super.methodA();
}
}
Since it is inherited, I expect Tomcat to actually "see" methodA() without
the workaround as shown above.
I am using Tomcat 5.5.25 and Java 1.6.0_03
Any help will be appreciated.
Paul Pichota
-----------------------------------------
This email was sent using SquirrelMail.
"Webmail for nuts!"
http://squirrelmail.org/
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]