摘要
在基于J2EE的Web开发中,经常需要对用户请求进行预处理,传统的方法很难实现软件复用,因此需要一种新型、高效的技术来解决这个问题,本文结合截取过滤器模式的特点,提出了使用截取过滤嚣模式采解决用户请求预处理的问题,并用一个例子来说明如何在开发中运用截取过滤器模式提高软件的可读性、可维护性。
Request preprocessing is often needed when develop Web application based on J2EE platform, traditional method does not improve reusability well. A new technology is needed to solve the problem.This paper discusses how to use Intercepting Filter pattern to preprocess request with an actual example.
出处
《电脑知识与技术》
2006年第5期110-110,112,共2页
Computer Knowledge and Technology