`
xiangsheng
  • 浏览: 101096 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
文章分类
社区版块
存档分类
最新评论
文章列表
create or replace function GetGUID return varchar2 is guid varchar(64); begin guid := SYS_GUID(); return substr(guid,1,8)||'-'||substr(guid,9,4)|| '-'||substr(guid,13,4)||'-'||substr(guid,17,4) ||'-'||substr(guid,21,12); end GetGUID;
if(parent!=window){ top.location=window.location; }
多行字符替换器。支持所有格式,支持多行替换,非常好用!!
表: test1 id  name 1 aaa 2 bbb 3 ccc test2 id  name 1 eee 1 fff 3 ggg 左连接也称左外连接(右连接同理):将左表的所有记录列出,右表中只要符合on条件的,与左表记录相拼合,不符合条件的,填以null值。 例:select t1.*,t2.* from test1 t1 left join test2 t2 on t1.id=t2.id 结果: id name id name 1 aaa 1 eee 1 aaa 1 fff 3 ccc 3 ggg 2 bbb null null 内连接:根据左连接来说,不会将左表的所有记录列 ...
迅雷下载 thunder://QUFodHRwOi8vZG93bi54bHlsdy5jb20vRG93bmxvYWQuYXNwP0lEPTIyNiZzSUQ9MFpa thunder://QUFodHRwOi8vZG93bi54bHlsdy5jb20vRG93bmxvYWQuYXNwP0lEPTIyNyZzSUQ9MFpa 32位KEY T274Y-RT6TY-QYXJC-H6K66-3MT7M H32XR-3KT6X-B83DT-YWM3T-8Q3JG DF33F-WMT84-KDPKT-FQBRG-7YH4T BYR7R-QTCG2-JRJWJ-BJPGP-XDKWG RW89D- ...
index.jsp: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+ ...
service代码: package com.yj.service; import java.util.List; import javax.annotation.Resource; import org.springframework.stereotype.Component; import com.yj.dao.UserDAO; import com.yj.model.User; @Component public class UserService { private UserDAO userDAO = new UserDAO();; publ ...
action代码: package com.yj.action; import javax.annotation.Resource; import org.apache.struts2.convention.annotation.Result; import org.apache.struts2.convention.annotation.Results; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; import ...
<?xml version="1.0" encoding="UTF-8"?> <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.c ...
proxool.xml配置如下: <?xml version="1.0" encoding="utf-8"?> <something-else-entirely> <proxool> <alias>datasource</alias> <driver-url>jdbc:oracle:thin:@127.0.0.1:1521:TEST</driver-url> <driver-class>oracle.jdbc.driver.OracleD ...
applicationContext.xml.xml配置如下: <?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:context="http://www.springframework.org/schema/context ...
导入所需要的jar包: xwork-core-2.2.1.jarxwork-core-2.2.1.jar struts2-spring-plugin-2.2.1.jarstruts2-spring-plugin-2.2.1.jar struts2-core-2.2.1.jarstruts2-core-2.2.1.jar struts2-convention-plugin-2.2.1.jarstruts2-convention-plugin-2.2.1.jar slf4j-nop-1.6.1.jarslf4j-nop-1.6.1.jar slf4j-api-1.6.1.jarslf4j-api- ...
控制器java代码 package springapp.web; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; //声明为servlet控制器 @Controller publi ...
web.xml配置 <?xml version="1.0" encoding="UTF-8"?> <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/n ...
import java.io.ByteArrayInputStream; import org.apache.axiom.om.OMElement; import org.apache.axiom.om.impl.builder.StAXOMBuilder; import org.apache.axis2.databinding.utils.BeanUtil; import org.apache.axis2.engine.DefaultObjectSupplier; import org.dom4j.Document; import org.dom4j.DocumentH ...
Global site tag (gtag.js) - Google Analytics