会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Qiao_Zhi
有远大抱负的人不可忽略眼前的工作!!!
新随笔
联系
订阅
管理
上一页
1
···
125
126
127
128
129
130
131
132
133
···
148
下一页
2017年8月23日
bootstrap带图标的按钮与图标做连接
摘要: bootstrap通过引入bootstrap的JS与css文件,给元素添加class属性即可。 使用图标只需要加入一个span,class属性设置为对应的图标属性即可。图标对应的class属性可以参考菜鸟教程: http://www.runoob.com/bootstrap/bootstrap-gl
阅读全文
posted @ 2017-08-23 17:14 QiaoZhi
阅读(3315)
评论(0)
推荐(1)
2017年8月21日
struts2的action类详解
摘要: Action类的书写方式 方式1 方式2 方式3
阅读全文
posted @ 2017-08-21 21:19 QiaoZhi
阅读(344)
评论(0)
推荐(0)
struts配置详解
摘要: 0.struts 配置加载顺序问题: default.properties -> struts-default.xml -> struts-plugin.xml -> struts.xml ->struts.properties -> web.xml struts.xml配置 、 struts2常量
阅读全文
posted @ 2017-08-21 21:17 QiaoZhi
阅读(420)
评论(0)
推荐(0)
struts入门
摘要: 1.概念 2.struts2使用优势 3.struts2具有更加先进的架构以及思想 4.struts2的历史 struts2与struts1区别就是技术上没有什么关系. struts2的前身是webwork框架. 搭建struts2框架 1.导包 2.书写Action类 3.书写src/struts
阅读全文
posted @ 2017-08-21 21:08 QiaoZhi
阅读(169)
评论(0)
推荐(0)
java中Map,List与Set的区别
摘要: Set,List,Map的区别 java集合的主要分为三种类型: Set(集) List(列表) Map(映射) 要深入理解集合首先要了解下我们熟悉的数组: Set(集) List(列表) Map(映射) 要深入理解集合首先要了解下我们熟悉的数组: 数组是大小固定的,并且同一个数组只能存放类型一样的
阅读全文
posted @ 2017-08-21 20:44 QiaoZhi
阅读(4137)
评论(0)
推荐(1)
struts集合类型封装
摘要: 1.list类型封装 2.map类型封装 3.封装单个String,Object,List<String>,List<Object> 页面: Test.Action: User.java strs: strs1 users str1:
阅读全文
posted @ 2017-08-21 20:33 QiaoZhi
阅读(351)
评论(0)
推荐(0)
struts获得参数(属性,对象,模型驱动)
摘要: 0. strutsMVC Action生命周期 1.每次请求到来时,都会创建一个新的Action实例 2.Action是线程安全的.可以使用成员变量接收参数 1.属性驱动方式 提供属性的setter方法: 这里需要补充的是对于boolean类型的映射,我们用eclipse生成的get、set方法是i
阅读全文
posted @ 2017-08-21 20:28 QiaoZhi
阅读(422)
评论(0)
推荐(0)
Struts访问servletAPI方式
摘要: 1.原理 2. 通过ActionContext 3. 通过ServletActionContext获取原生的servlet域 其原理也是通过获取ActionContext,然后获取request。 ServletActionContext中的方法: ActionContext里面的方法(使用Thre
阅读全文
posted @ 2017-08-21 20:22 QiaoZhi
阅读(215)
评论(0)
推荐(0)
Struts结果跳转方式(四种result配置)
摘要: 1.转发(默认转发) 2.重定向 3.转发到Action 4.重定向到Action 关于struts的result类型参考:struts2-core/struts-default.xml: 如果加入JSON机制(struts2-json-plugin.jar),参考:struts-plugin.xm
阅读全文
posted @ 2017-08-21 20:13 QiaoZhi
阅读(305)
评论(0)
推荐(0)
struts与ognl结合【重要】
摘要: ognl表达式 OGNL:对象视图导航语言. ${user.addr.name} 这种写法就叫对象视图导航.OGNL不仅仅可以视图导航.支持比EL表达式更加丰富的功能. 1.使用OGNL准备工作 1.1 导包 struts2 的包中已经包含了.所以不需要导入额外的jar包 1.2 代码准备 1.3
阅读全文
posted @ 2017-08-21 19:04 QiaoZhi
阅读(310)
评论(0)
推荐(0)
上一页
1
···
125
126
127
128
129
130
131
132
133
···
148
下一页
公告