"Luke, use the MessageContext"

>From within your handler call

HttpServlet
serv=(HttpServlet)MessageContext.getCurrentContext()getProperty(HTTPConstant
s.MC_HTTP_SERVLET);
URL myURL = serv.getServletContext().getResource("/"); 

This will give you the context root of your application.

-----Original Message-----
From: Atul [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 29, 2004 1:30 PM
To: [EMAIL PROTECTED]
Subject: [Axis1.2 RC]: getting service URL in handlers?

How to get the absolute URL of the deployed service (to which the request is
going) in the handlers ?

thx

Reply via email to