If you're talking about parameters for an actual service, why not just store them in a file??
stephen
PARLEY,THUNDER (HP-MountainView,ex1) wrote:
Hi List,
What is the best way for me to get a <context-param> value in the web.xml while my service is processing a request? Is this even possible r is there a better way to establish configuration parameters for my service?
I have tried this already:
MessageContext context = MessageContext.getCurrentContext(); HttpServlet req = (HttpServlet) context.getProperty(HTTPConstants.MC_HTTP_SERVLET); String dummy_config_param = req.getInitParameter("dummy_param");
Thanks,
Thunder
