struts2注解

1.struts的动作方法可以为void,没有结果视图,在动作方法中将json数据输出到页面中。   public void ajaxUsers(){   response.getWriter().print(); } 2.使用注解的jar包: struts-convention-plugin.jar asm.jar asm-commons.jar   3.使用注解:   (1)@Action  
相关文章
相关标签/搜索