上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 32 下一页
摘要: 1 修改CustomerAction代码 2 修改jsp/customer/list.jsp代码 阅读全文
posted @ 2018-03-07 21:34 Jepson6669 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1 struts2 获得参数 1-属性驱动获得参数 1 Demo8Action 2 struts.xml 3 form1.jsp 4 regist.jsp 2 struts2 获得参数 2-对象驱动 1 User类 package www.test.domain; import java.util. 阅读全文
posted @ 2018-03-07 17:10 Jepson6669 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1 原理 三个域合一的时候相同的键值对以小的域为准。ActionContext 对象创建:每次请求的时候都会创建一个与请求对应的 ActionContext 对象。ActionContext 销毁:请求处理完 ActionContext 销毁。 ActionContext 的生命周期由其中生命周期最 阅读全文
posted @ 2018-03-07 16:57 Jepson6669 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 1 转发 2 重定向 3 转发到Action 4 重定向到Action 阅读全文
posted @ 2018-03-07 16:52 Jepson6669 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 1 src下配置文件 1 struts.xml 2 hibernate.cfg.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Co 阅读全文
posted @ 2018-03-07 16:48 Jepson6669 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 1 struts.xml配置详解 2 struts2配置进阶-动态方法调用 3 struts2 配置进阶-默认值 阅读全文
posted @ 2018-03-06 19:41 Jepson6669 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1 src下配置文件 1 struts.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//E 阅读全文
posted @ 2018-03-06 19:26 Jepson6669 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 1webcontent部分 1 修改menu.jsp代码 2 jsp/customer/list.jsp代码 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ tagl 阅读全文
posted @ 2018-03-02 14:44 Jepson6669 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 1 Alt+Shift+Z:打开Sourround With 2 ctrl+shift+r:打开资源Open Resource 可能是所有快捷键组合中最省时间的了。这组快捷键可以让你打开你的工作区中任何一个文件,而你只需要按下文件名或mask名中的前几个字母,比如applic*.xml。美中不足的是 阅读全文
posted @ 2018-03-02 10:31 Jepson6669 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 1 BeanFactory工具类 2 bean.xml配置 阅读全文
posted @ 2018-03-01 18:32 Jepson6669 阅读(172) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 32 下一页