Struts2与Ajax 精简源码

时间:2020-11-18 16:26:40
【文件属性】:
文件名称:Struts2与Ajax 精简源码
文件大小:5.2MB
文件格式:RAR
更新时间:2020-11-18 16:26:40
Struts2 Ajax Struts2与Ajax 的实现原理,于Servlet+Ajax原理是一致的,都是通过后台的response.getWriter().print("");把数据传输给前台的。 前台Ajax格式如下(需要导入ajax库,比如:jquery-1.11.3.js) <%--格式: $(function(){ $().click(function (){ $.post("",function(data){ $().html(data); }); }); }); --%>
【文件预览】:
15StrutsAjax
----.settings()
--------com.genuitec.eclipse.j2eedt.core.prefs(1KB)
--------org.eclipse.jdt.core.prefs(330B)
----src()
--------com()
--------struts.xml(418B)
--------struts.properties(123B)
----.project(1KB)
----WebRoot()
--------META-INF()
--------WEB-INF()
--------js()
--------index.jsp(2KB)
--------download()
----.mymetadata(310B)
----.classpath(1KB)
----.myeclipse()
ajax.png

网友评论