摘要: An Introduction to Shiro (formerly JSecurity) – A Beginner’s Tutorial Part 5Posted At : May 1, 2009 10:33 AM | Posted By : Bruce PhillipsRelated Categories: JavaIntroductionNOTE: Updated in January 2011.In part 4 of this series, I explained how you can use Shiro's tag library to control what is 阅读全文
posted @ 2011-08-16 08:11 Earl 阅读(340) 评论(0) 推荐(0) 编辑
摘要: An Introduction to Shiro (formerly JSecurity) – A Beginner’s Tutorial Part 4Posted At : April 5, 2009 8:02 PM | Posted By : Bruce PhillipsRelated Categories: JavaIntroductionNOTE: Updated in January 2011.In part 3 of this tutorial, I showed how to use Apache Shiro (formerly called JSecurity and Ki) 阅读全文
posted @ 2011-08-16 08:06 Earl 阅读(455) 评论(0) 推荐(0) 编辑
摘要: An Introduction to Shiro (formerly JSecurity) – A Beginner’s Tutorial Part 3Posted At : April 5, 2009 3:17 PM | Posted By : Bruce PhillipsRelated Categories: JavaIntroductionNOTE: Updated in January 2011.In part 2 of this tutorial, I demonstrated how to use Apache Shiro (formerly JSecurity and also 阅读全文
posted @ 2011-08-16 08:05 Earl 阅读(299) 评论(0) 推荐(0) 编辑
摘要: An Introduction to Shiro (formerly JSecurity) – A Beginner’s Tutorial Part 1Posted At : April 5, 2009 12:22 PM | Posted By : Bruce PhillipsRelated Categories: JavaIntroductionNOTE: Updated in January 2011.I recently took over a project that used Apache Shiro for web application security. Shiro was p 阅读全文
posted @ 2011-08-16 08:03 Earl 阅读(266) 评论(0) 推荐(0) 编辑
摘要: An Introduction to Shiro (formerly JSecurity) – A Beginner’s Tutorial Part 2Posted At : April 5, 2009 12:48 PM | Posted By : Bruce PhillipsRelated Categories: JavaIntroductionNOTE: Updated in January 2011.In part 1 of this tutorial, I explained what Shiro is and created a simple web application that 阅读全文
posted @ 2011-08-16 08:02 Earl 阅读(531) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><%@page language="java" import="java.util.*" pageEncoding="UTF-8"%><%@ include file="/commons/taglib.jsp&quo 阅读全文
posted @ 2011-06-07 00:07 Earl 阅读(757) 评论(0) 推荐(0) 编辑
摘要: *说明:select元素javascript常用操作* 1.判断是否存在指定value的Item* 2.加入一个Item* 3.删除值为value的所有Item* 4.删除某一个index的选项* 5.更新第index项的value和text* 6.设置select中指定text的第一个Item为选中* 7.设置select中指定value的第一个Item为选中* 8.得到当前选中项的value* 9.得到当前选中项的index* 10.得到当前选中项的text* 11.清空所有选项-------------------------------------------------------* 阅读全文
posted @ 2010-11-02 18:10 Earl 阅读(1453) 评论(1) 推荐(0) 编辑
摘要: 配置得数据库sid名:localhost:1521:oracle 即红字部分是你本机得sid,那么如何查看本机得sid呢?用如下命令 SELECT NAME FROM v$database;在sqlplus中执行就可以看到关于启动数据库后提示ora-12505的解决方法: "listener does not currently know of SID given in connect descr... 阅读全文
posted @ 2010-11-01 19:01 Earl 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://stta04.javaeye.com/blog/377633信息: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to com.miracle.dm.doc.catalog.model.DocCatalogInfo原来的查询语句:String sql = "select a.* from t... 阅读全文
posted @ 2010-11-01 15:00 Earl 阅读(28561) 评论(1) 推荐(1) 编辑
摘要: 数据库连接的一般过程1载入JDBC驱动程序(jar包)2定义连接URL,每个数据库都有一个URL3 建立连接(connection对象)4创建Statement对象5 执行查询或更新6结果处理7关闭连接加载驱动程序  1使用JDBC-ODBC桥驱动程序:Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");//java反射  2使用oracle的jdbc驱动程... 阅读全文
posted @ 2010-10-31 23:58 Earl 阅读(421) 评论(0) 推荐(0) 编辑