struts2注解的动态参数

private String location;//jsp文件名

...getter()

...setter()

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

原文地址:https://www.cnblogs.com/yushouling/p/4916726.html