- 博客(15)
- 收藏
- 关注
oracle学习笔记
1 Oracle基础介绍11.1 基本概念11.1.1 实例11.1.2 用户管理31.1.3 服务项管理31.2 SQL简单介绍31.3 SQL常用命令42 简单查询语句42.1 SELECT语句42.2 单行函数42.2.1单行函数分类52.2.2 字符函数52.2.3 数值函数52.2.4 日期函数52.2.5 转换函数52...
2013-08-27 21:26:05 264
SSH整合中Spring的配置
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springfr
2013-08-27 16:10:32 98
Spring 2.5 TestContext 测试框架的使用
概述Spring 2.5 相比于 Spring 2.0 所新增的最重要的功能可以归结为以下 3 点:基于注解的 IoC 功能;基于注解驱动的 Spring MVC 功能;基于注解的 TestContext 测试框架。Spring 推荐开发者使用新的基于注解的 TestContext 测试框架,本文我们将对此进行详细的讲述。低版本的 Spring 所提供的 Spring...
2013-08-27 01:10:09 85
Spring配置之OpenSessionInViewFilter和OpenSessionInViewInterceptor
主要涉及类: org.springframework.orm.hibernate3.support.OpenSessionInViewFilter org.springframework.orm.hibernate3.support.OpenSessionInViewInterceptor 一、作用 说明一下Open Session in View的作用,就是允许在每次的整个reque...
2013-08-27 00:54:23 174
SSH整合问题
user is not mapped 错误 user is not mapped 错误在做SSH框架整合时,在进行DAO操作时。这里就只调用了chekUser()方法。运行时报user is not mapped 错误 : user is not mapped 错误 :public boolean checkUserExistsWithName(String username...
2013-08-26 10:52:18 61
hibernate错误总结
hibernate.dialect' must be set when no Connection available错误hibernate.dialect' must be set when no Connection available错误Java代码 org.hibernate.HibernateException: 'hibernate.dialect...
2013-08-24 19:38:41 57
Hibernate 学习笔记
第1课 课程内容. 6第2课Hibernate UML图. 6第3课 风格. 7第4课 资源. 7第5课 环境准备. 7第6课 第一个示例HibernateHelloWorld 7第7课 建立Annotation版本的HellWorld 9第8课 什么是O/RMapping 11一、 定义:. 11二、 Hib...
2013-08-18 16:35:37 766
hibernate的基本配置
<?xml version='1.0' encoding='utf-8'?><!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hiber...
2013-08-18 13:29:24 57
struts2标签Tags的用法
<body> <ol> <li>property: <s:property value="username"/> </li> <li>property 取值为字符串: <s:property value="'username'"/> </li&
2013-08-16 00:05:26 77
struts2中OGNL的用法
需引入标签库:<%@ taglib uri="/struts-tags" prefix="s" %><body><!-- 测试下面方法,可在浏览器地址栏输入:http://localhost:8088/strutsOGNL/ognl?username=u&password=1&user.age=10&cat.miaomiao -...
2013-08-15 23:39:39 52
struts2获取request,session,application的方式
public class LoginAction2 extends ActionSupport implements RequestAware,SessionAware, ApplicationAware { private Map<String, Object> request; private Map<String, Object> sessio...
2013-08-13 23:07:32 57
struts2动态方法调用(DMI)
public class UserAction extends ActionSupport { public String add() { return SUCCESS; } } <struts> <constant name="struts.devMode" value="true" /> <package name...
2013-08-13 22:44:58 86
struts.xml的通配符配置(wildcard)
[code="java"] /WEB-INF/jsp/Student{1}_success.jsp /WEB-INF/jsp/{1}_{2}_success.jsp 使用通配符,将配置量降到最低[url=/...
2013-08-13 13:12:31 103
struts2的path路径问题
[code="java"] Insert title herestruts2中的路径问题是根据action的路径而不是jsp路径来确定,所以尽量不要使用相对路径。[url=index.jsp]index.jsp[/url]虽然可以用redirect方式解决,但redirect方式并非必要。解决办法非常...
2013-08-13 11:28:05 126
struts2-2.3.15的xml配置及基本jar包
[code="java"] /jsp/one.jsp Struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndEx...
2013-08-12 18:31:27 131
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人