axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Turri" <ntu...@selin.it>
Subject Re: read param from web.xml?
Date Fri, 14 Nov 2003 15:14:16 GMT
Have an example for read external parameter in Axis?


----- Original Message ----- 
From: "Steve Loughran" <steve_l@iseran.com>
To: <axis-dev@ws.apache.org>
Sent: Thursday, November 13, 2003 10:55 PM
Subject: Re: read param from web.xml?


> Nicola Turri wrote:
> > 
> > Hello, i need metod for read param in file web.xml from Axis
> >  
> > i've  tryed but not function
> >  
> >  org.apache.axis.MessageContext mctx;
> >  
> >  mctx   =  org.apache.axis.MessageContext.getCurrentContext();
> >  
> > mctx.getService().getOption("myParam");
> >  
> 
> Axis' configuration mechanism is different, because it is designed to 
> work in situations where there is no web.xml. Axis config info is in the 
> wsdd descriptors, though you can get at the web.xml context by locating 
> the servlet context. you'll need to trace through AxisServlet to see 
> where this gets cached.
> 
> 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.538 / Virus Database: 333 - Release Date: 10/11/2003


Mime
View raw message