![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Struts2
二十六画生的博客
国内Top5硕士,先后在京东、字节从事多年后端开发、大数据开发。
展开
-
MVC三层模型(struts+spring+hibernate)总结
简单的说:struts 控制用的hibernate 操作数据库的spring 用解耦的详细的说:STRUTS 在 SSH 框架中起控制的作用 , 其核心是 Controller, 即 ActionServlet, 而 ActionServlet 的核心就是 Struts-confi g.xml. 主要控制逻辑关系的处理 .hibernate 是数据持转载 2017-06-06 19:57:33 · 1424 阅读 · 0 评论 -
struts2上传 zip和rar文件类型
zip文件firefox : application/octet-streamchrome : application/octet-streamoprea : application/zipIE : application/x-zip-compressedrar文件firefox : application/x-rar-compressedchrome : ap原创 2017-06-13 11:50:26 · 1454 阅读 · 0 评论 -
SpringMVC与Struts2区别与比较总结
1、SpringMVC是方法级别的拦截,一个方法对应一个request上下文,Struts2是类级别的拦截,一个类对应一个request上下文2、SpringMVC的方法之间基本上独立的,独享Request Response数据,方法之间不共享变量Struts2的所有Action变量是共享的3 、Struts2比较耗内存4、拦截器实现机制上,Spring转载 2017-07-06 23:30:04 · 786 阅读 · 0 评论