Yes, that's fine. The role of the ServletActionContext is to make it
easy to snag the request from an Action or Interceptor.
The ActionContext itself is a thread-local container of the objects
being processed with the request. The core framework objects, like
Locale, are defined in the XWork Acti
I need to access the HttpServletRequest from an Interceptor. I'm using:
HttpServletRequest request = ServletActionContext.getRequest ();
Is that the correct way to get it? It works, but I'm not sure that's how I
should be doing it.
Thanks,
Mark
-
2 matches
Mail list logo