Skip,
Your explanation cleared things up a lot.
I tried your suggestion to include an attribute to my "java service",
so that I will have the request in the context.

<attribute name="request" type="javax.servlet.http.HttpServletRequest"
mode="IN" optional="false"/>

However, since the form before it does not have any value to be
submiited, the service compains about missing the required parameter
"request". What value should I submit to the service?

Moreover, I found out that any context-param value from web.xml was
not included in the context of a "service". They are accessible only
if I use a "java event", via its servlet-type HttpServletRequest.

However, context-params are accessible from the map "parameters" in
the screen widget and form widget. Is there a way to access them in a
"service"? Or, what is the best practice to access a predefined
variable (such as a context-param) from a "service"?

Many thanks for your help.

Reply via email to