You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by David Melgar <dm...@us.ibm.com> on 2001/08/16 00:07:05 UTC

AxisServlet.init issue

AxisServlet.init currently tries to pick up the transport name by using
HttpServlet.getInitParameter, if that returns null it uses,
ServletContext.getInitParameter(xxx).

There is a third option, ServletConfig.getInitParameter(xxx).

I dont understand the difference between these different ways. What I do
know is that ServletContext.getInitParameter was added in the servlet spec
2.2 and it not present in 2.1. Axis therefore fails to run on some well
known app servers.

Question: can it be switched to use ServletConfig.getInitParameter(xxx)?

Thanks


David Melgar
Web Services Toolkit Development
Emerging Technologies
dmelgar@us.ibm.com