1. Struts2 Interceptor *after* JSP is rendered - how? stackoverflow.comI was wondering if I can capture the result of an action after the result returns and the JSP is rendered. I want to be able to take the entire result ... |
2. How to get ServletContext from Interceptor.init struts.1045723.n5.nabble.com |
3. jsp renders before interceptors are finished struts.1045723.n5.nabble.comHi all! I am using a custom interceptor to capture old and new value for an attribute in my page. This interceptors doBefore method is called before the params interceptor is called. The doAfter method is called after the action and the other interceptors are finished. This new and old values is displayed in a log section of the page. Pseudocode: ... |
4. login interceptor and a servlet struts.1045723.n5.nabble.comI have a login interceptor to check login on all my pages. I also have a servlet that serves up images. The servlet does not go through the login interceptor. Is there a way to force it that way? Here is my login interceptor definition: |
5. object set in session in interceptor not available to JSP for first launch. struts.1045723.n5.nabble.comHi, I have the following configuration snippet in my struts.xml: |
6. RE: [S2] Servlet-Config Interceptor Bug? struts.1045723.n5.nabble.comI am currently utilizing the Servlet-Config Interceptor in order to manage HTTPSession attributes as advised in the following document: http://struts.apache.org/2.x/docs/how-do-we-get-access-to-the-session.html The document states that this is preferred and that: "Any changes made to the session Map are reflected in the actual HttpSessionRequest. You may insert ... |
7. RV: How to get ServletContext from Interceptor.init struts.1045723.n5.nabble.comHi Martin Thanks for the reply Yes, I need to access a Spring Context object from the Interceptor. So I basically have 2 options, I can inject them in some way in the interceptor which I haven't found a way, or I can access the WebApplicationContext from the init method but I need the ServletContext object. ... |