XML生成Java类

Posted by Sir0xb on 2011-10-21 15:50:09 +0800

前提条件:

JDK1.6 环境变量设置妥当

工具JAR包:trang.jar 下载地址:http://www.163disk.com/fileview_269095.html

步骤:

cmd进入xml所在目录,输入

java -jar trang.jar xxx.xml xxx.xsd
Read More

JSF中action 和 actionListener的区别

Posted by Sir0xb on 2011-10-21 15:46:50 +0800

项目 校验 参数 事件 页面跳转
action ok 不传入当前控件 当铵钮被单击时产生事件.提交表单 返回跳转的页面导向,根据配置文件跳转
actionListener ok 传入当前控件 当铵钮被单击时产生事件.提交表单 无返回值,返回本页面
ValueChangeListener ok 传入当前控件,无返回值 不提交表单(需指定其onchange/onclick=“submit"才自动提交表单 返回 action, 动态生成跳转
Read More

PL/SQL 编辑器颜色设定

Posted by Sir0xb on 2011-10-21 15:46:18 +0800

修改背景色:编辑 - PL/SQL 美化器选项

  • 用户界面 - 字体 - 编辑器 - 背景

字 体 颜 色 :编辑 - PL/SQL 美化器选项 - 用户界面 - 编辑器 - 语法高亮


Read More

格式化字符串入侵

Posted by Sir0xb on 2011-10-21 08:54:51 +0800

今日无聊测试了下数据库接口。

URL:...getInfoList?ID=1&GroupId=3

获得的数据是:

[{"ID":1,"USERINFO_ID":1,"USER_GROUP":3,"C_NAME":"f1","C_NICKNAME":"ff1","C_EMAIL":"[email protected]","C_MOBILE":"13800000000","C_TEL":"80000000","C_HOME_ADD":"asdfsadf","C_COM_ADD":"asdfasdf"},
{"ID":2,"USERINFO_ID":1,"USER_GROUP":3,"C_NAME":"f2","C_NICKNAME":"ff2","C_EMAIL":"[email protected]","C_MOBILE":"13900000000","C_TEL":"90000000","C_HOME_ADD":"fgsdfg","C_COM_ADD":"fsgfdg"},
{"ID":58,"USERINFO_ID":1,"USER_GROUP":3,"C_NAME":"Test","C_NICKNAME":"Test","C_EMAIL":"[email protected]","C_MOBILE":"Test","C_TEL":"Test","C_HOME_ADD":"Test","C_COM_ADD":"Test"},
{"ID":62,"USERINFO_ID":1,"USER_GROUP":3,"C_NAME":"QQ","C_NICKNAME":"QQ","C_EMAIL":"[email protected]","C_MOBILE":"QQ","C_TEL":"QQ","C_HOME_ADD":"QQ","C_COM_ADD":"QQ"},
{"ID":66,"USERINFO_ID":1,"USER_GROUP":3,"C_NAME":"KK","C_NICKNAME":"KK","C_EMAIL":"KK","C_MOBILE":"KK","C_TEL":"KK","C_HOME_ADD":"KK","C_COM_ADD":"KK"}]
Read More

《雪绒花》- 口琴谱

Posted by Sir0xb on 2011-10-20 22:48:46 +0800

雪绒花
Read More