摘要
介绍了Struts 2框架拦截器的设计思想和工作原理,并以软件系统常见的权限控制功能为例,详细说明了拦截器在基于Java EE平台的Web应用系统中的设计及配置。拦截器在Web开发中的应用,提高了系统代码的可复用性、可扩展性及灵活性。
Introduces the design idea and working principle of the Struts 2 framework interceptor, and take the software system as an example, A detailed description of the interceptor in the design and configuration of Web application system based on Java EE platform, the application of the interceptor in Web development, improve code reusability, scalability and flexibility.
引文
[1]赵春亮,张建国,孟晨,等.基于Struts2拦截器的日志记录的设计与实现[J].计算机与现代化,2011,2:150-153.
[2]赵秀霞,付秀丽.基于组件和拦截器的Web系统权限设计与实现[J].现代电子技术,2014,8:105-107.
[3]杨树林,胡洁萍.使用Annotation和拦截器实现访问控制[J].北京印刷学院学报, 2010, 2:52-54.
[4]郑阿奇. Java EE实用教程[M].北京:电子工业出版社,2015. 102-103.