2013年10月10日

oracle权限问题记录

摘要: C:\Documents and Settings\Paul Yi>sqlplus "/as sysdba"SQL*Plus: Release 9.2.0.4.0 - Production on Tue Dec 4 17:23:25 2007Copyright (c) 1982, 2002, Oracle Corporation.All rights reserved.Connected to:Oracle9i Enterprise Edition Release 9.2.0.4.0 - ProductionWith the Partitioning, OLAP an 阅读全文

posted @ 2013-10-10 11:45 @黑黑 阅读(138) 评论(0) 推荐(0)

2013年3月27日

ibatis整合spring文件配置

摘要: ibatis整合spring的方式主要在于sqlMapClient的配置,而sqlMapClient的配置中,sqlmap文件的配置,也是重要的一环,下面对我遇到的2种配置方式做一下分析1 <bean id="sqlMapClient" class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">2 <property name="dataSource" ref="dataSource"/>3 <property nam 阅读全文

posted @ 2013-03-27 11:43 @黑黑 阅读(317) 评论(0) 推荐(0)

DispatchAction

摘要: DispatchAction 是struts 1.x里有 在java web开发中,原始的配置action都是使用一个action类实现一个功能,如果工程项目够大,action类数目会很多,就增加了该项目后期的维护难度。解决的方法,这里给大家介绍一个struts包下的action子类,DispatchAction。DispatchAction继承自Action类,它是一个抽象类,封装了一些基础方法,来解决使用一个Action处理多个操作的能力,这就是DispatchAction最大的用途,它可以帮助我们用一个Action类,封装一套类似的操作方法,节省了类的数目,同时也减轻了后期维护的困难。. 阅读全文

posted @ 2013-03-27 11:02 @黑黑 阅读(143) 评论(0) 推荐(0)

2012年11月17日

struts2的struts.properties配置文件详解

摘要: 1 struts.action.extension 2 The URL extension to use to determine if the request is meant for a Struts action 3 #用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4 5 struts.configuration 6 The org.apache.struts2.config.Configuration imple... 阅读全文

posted @ 2012-11-17 16:28 @黑黑 阅读(949) 评论(0) 推荐(0)

导航