Hi,
in my method implementation of my service i want to get a value of variable
which is defined in my web.xml like this:
<context-param>
<param-name>myVariable</param-name>
<param-value>value</param-value>
</context-param>
I remember that i dont use the following code code because i have not access
to th object "request" in my method implementation. i means i can't get the
object "request" from the object "DispatchContext":
ServletContext context =(ServletContext)
request.getAttribute("ServletContext");
context.getInitParameter("myVariable")
please how to do that ?
thanks
--
View this message in context:
http://www.nabble.com/how-to-get-value-defined-in-web.xml---tf4797528.html#a13725065
Sent from the OFBiz - User mailing list archive at Nabble.com.