struts 注解


<li id="{{:uuid}}localsubscriber" name="{{:uuid}}"><a href="${basePath}/emsConfigAction/toEmsConfigLocalSubscriber(方法).action?vbrass={{:name}}&brassIp={{:ip}}&brassUuid={{:uuid}}">localsubscriber</a></li>

@Action(value = "/emsConfigAction/toEmsConfigLocalSubscriber(方法)", results = { @Result(name = "index", type = "dispatcher", location = "/WEB-INF/view/emsconfig/emsConfigLocalSubscriber.jsp") })
public String toEmsConfigLocalSubscriber() {
String id = request.getParameter("id");
String brassIp = request.getParameter("brassIp");

List<Vbras> brasList = configService.getVbraList();
request.setAttribute("brasList", brasList);
return "index";
}

你可能感兴趣的:(struts)