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 dumdum 420 <du...@hotmail.com> on 2003/03/27 21:11:43 UTC
Accessing ServletContext
How do I access ServletContext in my axis 0
I need to access the ServletContext to get some data. I cannot think of a
way how to access that in my current logic ...
I am using axis api to invoke my my web services.
This is urgent any suggesstions will help'
Bhanu
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Re: Accessing ServletContext
Posted by Fan <xm...@yahoo.com>.
You can use the init() in the LifeCycle interface to
get the context and save it in somewhere. For sure,
you have to implement that interface first. It works
for me.
--- dumdum 420 <du...@hotmail.com> wrote:
> How do I access ServletContext in my axis 0
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
=== message truncated ===
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com