
struts2
麻辣小布叮
这个作者很懒,什么都没留下…
展开
-
Struts2 基础(四)
1.struts2框架是在webwork上发展过来的2.webwork的介绍WebWork 来自一个优秀的开源组织OpenSymphony 是基于MVC架构模式的J2EE Web 框架.和struts1相比,WebWork更加优秀,WebWork2.x被拆分成了XWwork和WebWork2两个项目优点:Action 不需要和WebWork紧密耦合支持更多的表现层技术,有更好的原创 2017-03-27 10:55:29 · 315 阅读 · 0 评论 -
Struts2 基础(五)
1.使用 myEclipse开发struts2配置myEclipse 的 tomcat jdk 双击myEclipse--new web project在 struts2.2.3之前只需要导入 5个包 就可以利用strtus2.之后需要导入9个包导入jar:struts2-core.jar //struts2的核心库xwork.jar //webwork的核心原创 2017-03-27 10:55:42 · 199 阅读 · 0 评论 -
Struts2整合SiteMesh
1.导入Struts2的jar 和 sitemesh.jar 和 Struts2-sitemesh-plugin.jar commons-fileupload-1.2.2.jar commons-io-2.0.1.jar commons-lang3-3.1.jar commons-logging-1.1.1.jar freemarker-2.3.19.jar javassist-3.1原创 2017-03-27 11:07:03 · 656 阅读 · 0 评论 -
解决getOutputStream() has already been called for this response
java.lang.IllegalStateException: getOutputStream() has already been called for this response//strut2 导出excel//解决问题的代码HSSFWorkbook workbook=productEcel(list,partTimer); response.reset();原创 2017-03-27 11:35:22 · 22299 阅读 · 3 评论