摘要:
阅读全文
摘要:
1 LoginInterceptor 2 struts.xml 3 没有登录的时候让登录页面全屏显示 在login.jsp中加入下面的代码即可。 阅读全文
摘要:
1 拦截器的创建 1 方式1-实现 Interceptor 2 方式 2-继承 AbstractInterceptor 3 方式 3-继承 MethodFilterInterceptor 2 拦截器的配置 3 其它 1 Demo1Action package www.test.a_intercept 阅读全文
摘要:
1 login.jsp代码 2 UserAction 3 UserServiceImpl 4 UserDaoImpl 5 struts.xml 阅读全文
摘要:
1 参数接收 2 配置文件中 1 Demo2Action 2 struts.xml 阅读全文
摘要:
1 基本取值 2 赋值 3 调用方法 4 调用静态方法 5 创建对象 6 使用字符串的已有方法 阅读全文