> But if he's using something like Axis, then there is no ServletContext
> around to use IIRC.

Actually, there is. You can get it with javax.xml.rpc.server.ServletEndpointContext#getServletContext().

Regards,
Dies


Christopher Schultz wrote:
Tomas,

2) Then the code will be independent of the servlet API

InputStream in =
my_class_name.class.getResourceAsStream("/my_configuration");

Not a bad idea. The use of the term "web service init" made me think of
a webapp initializer, in which case, he's already tied to the servlet API.

But if he's using something like Axis, then there is no ServletContext
around to use IIRC.

-chris



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to