我们回顾一下jsp的Tag自定义标签技术
我们的SimpleTag接口可以实现左边3种接口的功能。
这个接口的默认实现类是SimpleSupport。
接口中的方法有:
doTag()//标签开始和结束都是在这个方法中定义,标签体是setJspBody方法中的JspFragment对象。
可以抛出SkipPageException,就相当于返回了“SKIP_PAGE”,余下的...
分类:
其他好文 时间:
2016-04-08 10:23:35
阅读次数:
220
题目: You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ...
分类:
其他好文 时间:
2016-04-06 10:54:36
阅读次数:
170
Mysql常见的几个错误问题及解决方法: 1.问题: mysql DNS反解:skip-name-resolve 错误日志有类似警告: 点击(此处)折叠或打开 120119 16:26:04 [Warning] IP address '192.168.1.10' could not be resol ...
分类:
数据库 时间:
2016-04-05 12:27:02
阅读次数:
224
我们先实现拍照按钮的圆形效果哈,Android开发中,当然可以找美工人员设计图片,然后直接拿进来,不过我们可以自己写代码实现这个效果哈,最常用的的是用layout-list实现图片的叠加,我们这个layout命名为btn_take_photo.xml,这是一个自定义的drawable文件,所以按照规范,我们要将它放在drawable文件夹里
注意:drawable文件夹一般是来放自定义的draw...
分类:
移动开发 时间:
2016-04-03 20:25:15
阅读次数:
208
[mysql]# 设置mysql客户端默认字符集default-character-set=utf8 [mysqld]#设置3306端口port = 3306#skip-grant-tables (这一行用于第一次登陆时跳过输入密码,直接回车跳过输入密码环节,用时去掉注释#)# 设置mysql的安装 ...
分类:
数据库 时间:
2016-04-02 13:34:08
阅读次数:
212
Nothing special. Just take care of corner cases. class Solution { public: /** * @param head a ListNode * @oaram v1 an integer * @param v2 an integer * ...
分类:
其他好文 时间:
2016-04-01 14:34:50
阅读次数:
149
I've focused on blog for a long time ....Finally and fortunately, I take my first step. All life philosophy can be summarized into only one sentence " ...
分类:
其他好文 时间:
2016-03-31 18:37:57
阅读次数:
177
“If you are still looking for that one person who will change your life, take a look in the mirror.” ...
分类:
其他好文 时间:
2016-03-31 01:53:25
阅读次数:
156
解决方法:1、停止mysql进程#/etc/init.d/mysqlstop执行后输出:StoppingMySQLdatabaseserver:mysqld.2、安全模式启动mysql,跳过授权表#mysqld_safe--skip-grant-tables&执行后输出:[1]5988Startingmysqlddaemonwithdatabasesfrom/var/lib/mysqlmysqld_safe[6025]:started..
分类:
数据库 时间:
2016-03-30 11:18:11
阅读次数:
335
In this lesson we'll take our first look at the most common components available to us in react-router; Router, Route, and Link. ...
分类:
其他好文 时间:
2016-03-28 02:10:05
阅读次数:
246