Just wondering if anyone got this working?
Having same problem here, @Autowired and @Resource fields are not wired when using AOP on Struts 2 actions....
Thanks!
Type: Posts; User: Cades_Cove; Keyword(s):
Just wondering if anyone got this working?
Having same problem here, @Autowired and @Resource fields are not wired when using AOP on Struts 2 actions....
Thanks!
So I found that if I use error-code instead of exception-type:
<error-page>
<error-code>401</error-code>
<location>/pages/error.jsp</location>
</error-page>
the request is forwarded...
I am using Struts 2.
I am unable to solve this issue. Using a global exception mapping in the Struts 2 configuration returns the same result. Even using an error-page element in the web.xml for...
My global-method-security uses defaults and is as follows:
<global-method-security pre-post-annotations="enabled" >
</global-method-security>
The method is within a @Service class and is...
No configuration. It implements the AccessDeniedHandler interface and at this point just does a System.out and a redirect. If I remove the ref and specify an error-page I get the same response. Maybe...
1/4/10 15:50:12:395 EST] 0000002a WebApp E [Servlet Error]-[Access is denied]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Access is denied
at...
I am using a @PreAuthorize annotation expression to call a static method to evaluate whether a user has permissions to call the method with the given args. When the static method returns false the...