My project use Struts2, Spring and Hibernate.
And the project grow bigger and a lot of action never used. So related tiles and JSP also have the same issue.
Is any tools or write some code to find out all unused link. Or found the link can be reach from index page and then go though all action . found the unused action.
My action is like below :
@Action(value = "saveClass", results = {@Result(name = SUCCESS, type = "tiles", location = ".initStep3"),
@Result(name = "repeat",type = Constants.RESULT_NAME_TILES,location = ".repeatClassInfo"),
@Result(name = "maintenance",type = Constants.RESULT_NAME_TILES,location = ".courseInfoModified"),
@Result(name = INPUT, type = "tiles", location = ".saveClass")})
public String saveClass() {