摘要: Struts2工作原理Struts2请求响应流程:在struts2的应用中,从用户请求到服务器返回相应响应给用户端的过程中,包含了许多组件如:Controller、ActionProxy、ActionMapping、Configuration Manager、ActionInvocation、Ine... 阅读全文
posted @ 2015-02-08 21:16 刘彦民 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 1. 文件的上传:1). 表单需要注意的 3 点①. method="post" ②. enctype="mulitipart/form-data" ③. 2). Struts2 的文件上传实际上使用的是 Commons FileUpload 组件, 所以需要导入commons... 阅读全文
posted @ 2015-02-08 08:42 刘彦民 阅读(252) 评论(0) 推荐(0) 编辑