Re: [s2] Accessing HttpServletRequest from an Interceptor

2006-11-07 Thread Ted Husted
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

[s2] Accessing HttpServletRequest from an Interceptor

2006-11-06 Thread Mark Menard
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 -