struts2诠注的动态参数

struts2注解的动态参数

private String location;//jsp文件名

...getter()

...setter()

 

@Action(value = "reportData", results = { @Result(location = "report/${location}.jsp") })