Spring security and Struts 2
- by Thanksforfish
I have a struts2 action with an @Secured({"ROLE_ADMIN"}) to secure the execute method. In the execute method i assign a message to a member variable of the action, then return SUCCESS and end up on the jsp page. On the page I retrieve the actions member variable with <sroperty.
private String greeting;
public String execute() throws Exception…