Hi,
   Not too sure what you mean by reading the init-param from the command
line? Do you mean, reading the init param in runtime? As in when your
servlet loads up, you want to read in a parameter and do something,
probably to initialize your setup at start-up time? If so, and assuming
you're using org.codehaus.xfire.transport.http.XFireServlet, you can use
the following bit of code:

        XFireServlet xfs = new XFireServlet();
      xfs.getInitParameter("myFirstInitParam");

Best,
Conor 

-----Original Message-----
From: zakaria ghandour [mailto:[EMAIL PROTECTED] 
Sent: Friday, 29 June 2007 12:32 AM
To: [email protected]
Subject: [xfire-user] get <init-param>


Hi, 

there is any way to get <init-param> form web.xml  in webservice Xfire
??
can you give me the command line to get it 

thanks
--
View this message in context:
http://www.nabble.com/get-%3Cinit-param%3E-tf3994489.html#a11343450
Sent from the XFire - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended 
recipient(s) only. If you received this email by mistake, please, 
as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily 
reflect those of the Queensland Studies Authority. All reasonable 
precautions have been taken to ensure that this email contained no 
viruses at the time it was sent.
 

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to