Rest风格的Java MVC 框架 EasyPage for Java
jopen
12年前
基于Restful风格的注解编程,融合了Struts2和SpringMVC的优点,目标使web编程更简单。
Web.xml 配置文件:
<filter> <filter-name>EasyPageStartupFilter</filter-name> <filter-class>com.Eriloan.EasyPage.load.EasyPageStartupFilter</filter-class> <async-supported>true</async-supported> <!-- 需要过滤的包名 --> <init-param> <param-name>pkgdir</param-name> <param-value>com.ronglian.easypage</param-value> </init-param> <!-- 需要过滤包下的类名 全部使用可以填 * --> <init-param> <param-name>filters</param-name> <param-value>*Action</param-value> </init-param> <!-- 页面的后缀名称 --> <init-param> <param-name>pageSuffix</param-name> <param-value>.jsp</param-value> </init-param> </filter> <filter-mapping> <filter-name>EasyPageStartupFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>