struts2
文章平均质量分 81
summer_lilac
这个作者很懒,什么都没留下…
展开
-
struts2 拦截器控制用户登录权限
1.拦截器类 UserPerssionInterceptor.java package com.test.interceptor;import com.opensymphony.xwork2.ActionInvocation;import com.opensymphony.xwork2.interceptor.AbstractInterceptor;import c原创 2009-01-08 19:51:00 · 2973 阅读 · 0 评论 -
struts2整合tiles及配置
一.基本包(6个) 1.commons-logging-1.0.4.jar 2.commons-fileupload-1.2.1.jar 3.ognl-2.6.11.jar 4.struts2-core-2.1.6.jar 5.xwork-2.1.2.jar 6.freemarker-2.3.13.jar二.整合tiles必须包(7个)转载 2010-01-27 16:48:00 · 353 阅读 · 0 评论 -
struts2中struts.properties
Struts 2框架有两个核心配置文件: struts.xml和struts.properties 其中struts.xml文件主要负责管理应用中的Action映射,以及该Action包含的Result定义等。除此之外,Struts 2框架还包含一个struts.properties文件,该文件定义了Struts 2框架的大量属性,开发者可以通过改变这些属性来满足应用的需求。 st转载 2010-01-29 11:18:00 · 375 阅读 · 0 评论