You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Wayne Ross <wa...@crestco.co.uk> on 2003/09/18 16:56:15 UTC

AxisServlet and the init() method

Hi,
 
I'd like to extend the AxisServlet class and if/when init() fails I
would like the servlet to throw javax.servlet.UnavailableException.
However, AxisServlet (and AxisServletBase) define their init() method as

 
public void init()
 
and not
 
public void init() throws ServletException
 
as per the Java Servlet API javax.servlet.GenericServlet class.
 
And yet the AxisServlet init() method is still called...
 
Should AxisServlet (and incidently AxisServletBase) override the init()
method as specified by javax.servlet.GenericServlet or have I missed
something here? I've searched Apache Bugzilla for Axis-related bugs and
have not found a match.
 
Regards,
 
Wayne Ross


This email is for the intended recipient only and is confidential. If you are not the intended recipient, please inform the sender immediately and delete this email and any copies, (including attachments), from your system. You should not read, copy or make any use of this email if you have received it in error.

You should take whatever measures you deem to be appropriate to ensure that this email is virus free.

CRESTCo Ltd does not give any representation, guarantee or warranty (whether expressed or implied) that this email has been securely transmitted or is accurate, timely or complete and excludes all liability in connection with this email or for any statements which are clearly the senders own and do not represent the views of CRESTCo Ltd.

CRESTCo Ltd reserves the right to monitor the use and content of all emails.