2014年7月29日
摘要:
把Tomcat注册为windows服务
阅读全文
posted @ 2014-07-29 09:31
nami
阅读(21819)
推荐(0)
2014年7月15日
摘要:
Oracle查询表的名字和commentsselect a.table_name,b.comments from user_tables a,ALL_TAB_COMMENTS b where a.table_name=b.table_name查询字段的名字和commentsselect distin...
阅读全文
posted @ 2014-07-15 15:58
nami
阅读(1208)
推荐(0)
2014年6月19日
摘要:
instant-client(数据库即时客户端)官方说明:即时客户端在一个单独的针对 Instant Client 的 OTN 开发和分发许可下提供,它允许大多数许可下载、重新分发和部署到生产环境中,而不收取任何费用。为什么使用 instant-client无需安装,解压就好了;免费。下载insta...
阅读全文
posted @ 2014-06-19 10:25
nami
阅读(6075)
推荐(1)
2014年6月6日
摘要:
Cron表达式Cron表达式是一个由 7个子表达式组成的字符串。每个子表达式都描述了一个单独的日程细节。这些子表达式用空格分隔。Cron表达式说明:秒分时日月周年SecondsMinutesHoursDay-of-MonthMonthDay-of-WeekYear秒分钟小时月中的天月周中的天年子表达...
阅读全文
posted @ 2014-06-06 14:41
nami
阅读(591)
推荐(1)
2013年8月22日
摘要:
容器类库图List(interface)次序是List最重要的特点;它保证维护元素特定的顺序。List为Collection添加了许多方法,使得能够向List中间插入与移除元素。(这只推荐LinkedList使用。)一个List可以生成ListIterator,使用它可以从两个方向遍历List,也可以从List中间插入和移除元素。ArrayList*由数组实现的List。允许对元素进行快速随机访问,但是向List中间插入与移除元素的速度很慢。ListIterator只应该用来由后向前遍历ArrayList,而不是用来插入和移除元素,因为那比LinkedList开销要大很多。LinkedList
阅读全文
posted @ 2013-08-22 16:13
nami
阅读(624)
推荐(0)
2013年8月8日
摘要:
Spring版本:3.2.2.RELEASE第一步:导入必须的jar包spring-beans.jarspring-context.jarspring-core.jarspring-expression.jarspring-web.jarspring-webmvc.jarcommons-fileupload-1.2.2.jarcommons-logging-1.1.1.jar第二步:在web.xml配置DispatcherServletDispatcherServlet实际上是一个Servlet(它从HttpServlet继承而来)。和其它Servlet一样,DispatcherServlet
阅读全文
posted @ 2013-08-08 11:12
nami
阅读(327)
推荐(0)
2013年4月15日
摘要:
Spring版本:3.2.2.RELEASEspring-aop.jarSpring的面向切面编程,提供AOP(面向切面编程)实现spring-core,spring 3.1 jar, (spring-beans,spring 3.1 jar,AOP Alliance,spring.jar, CGLIB,Commons Attributes)。spring-aspects.jarSpring提供对AspectJ框架的整合spring-beans.jarSpringIoC(依赖注入)的基础实现spring-core,spring 3.1 jar,(CGLIB)。spring-context.ja
阅读全文
posted @ 2013-04-15 16:18
nami
阅读(324)
推荐(0)
摘要:
Spring框架简介Spring框架的特性被组织到大约20个模块中,这些模块又被分组到核心容器,数据访问/集成、网络、AOP(面向方面编程)、Instrumentation(监测器)和测试几个部分。见下图核心容器(Core Container) 包括Core、Beans、Context、EL模块。1:Core和Beans模块提供了Spring最基础的功能,提供IoC和依赖注入特性。这里的基础概念是BeanFactory,它提供对Factory模式的经典实现来消除对程序性单例模式的需要,并真正地允许你从程序逻辑中分离出依赖关系和配置。2:Context模块基于Core和Beans来构建,它提供了
阅读全文
posted @ 2013-04-15 15:00
nami
阅读(410)
推荐(0)
2013年4月11日
摘要:
jre:http://www.java.com/zh_CN/download/manual.jspjdk:http://www.oracle.com/technetwork/java/javase/downloads/index.htmlspring:http://www.springsource.org/download/communitystruts:http://struts.apache.org/download.cgitomcat:http://tomcat.apache.org/download-70.cgieclipse:http://www.eclipse.org/downlo
阅读全文
posted @ 2013-04-11 16:01
nami
阅读(183)
推荐(0)
摘要:
下载struts2:http://struts.apache.org/2.x/搭建struts2项目1.导入struts2所需jar包(struts2 jar包说明)2.编辑Web应用的web.xml配置文件,配置Struts 2的核心Filter。View Code <filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-cl
阅读全文
posted @ 2013-04-11 15:56
nami
阅读(177)
推荐(0)