`
mikey.tsu
  • 浏览: 133782 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
文章列表
<?xml version="1.0" encoding="UTF-8"?>  <!-- 对指定目录下的所有js进行压缩,放入指定位置 -->  <project name="jsbuild" default="build">      <property name="web.dir" location="WebRoot" />      <property name="yuicompressor.jar" ...
jquery+easyui培训文档    
import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.Element; import org.dom4j.io.SAXReader; import org.dom4j.tree.DefaultAttribute; /** * Java递归遍历XML所有元素 * * @author Administr ...
1。Oracle中:select org_idfrom organizationsstart with org_id= :org_idconnect by prior org_id=supervision_org_idorder by supervision_org_id2。Sql Functiong: FunctionNo SubFunctionNo SubFunctionType     01.   systemadmin Privilege 0     01.   systemadmin subsysadmin 1(表示树枝)     subsysadmin subsys1 0(表示lea ...
import java.util.ArrayList; import javax.servlet.http.HttpServletRequest; import org.apache.commons.validator.GenericValidator; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionSupport; public class TestAction extends ActionSupport { /** * ...
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <constant name="struts.custom.i18n ...
利用Jotm和过滤器实现分布式事务管理功能   1、下载ow2-jotm-dist-2.2.1-bin.tar.gz,将其目录ow2-jotm-dist-2.2.1\lib的jar拷贝到Tomcat 6.0\lib下   2、配置项目下的web.xml      <resource-env-ref> <description>DB Connection</description> <resource-env-ref-name>jdbc/myDB</resource-env-ref- ...
import java.io.IOException; import java.io.PrintWriter; import java.lang.reflect.Method; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.lang.StringUtils; import org.apache. ...
import org.apache.commons.lang.builder.ReflectionToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; public abstract class BaseEntity { public String toString() { return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE); } ...
import java.lang.reflect.Field; import java.sql.SQLException; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUtils; import com.autocreate.dbpool.DBUtil; import com.au ...
import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; import java.util.Locale; /** * @author tl * @version [版本号, 2010-11-4] * @see [相关类/方法] * @since [产品/模块版本] */ public class JBeanClass { // 所支持的类型 private static Lis ...
import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; public class FileCommon extends CommonUtil { /** * 新建文件 * @param filePathAndName String 文件路径及名称 如c:/fqf.tx ...
File input 浏览上传按钮样式和文字的更改方法   <!doctype html public "-//w3c//dtd html 4.01//en" "http://www.w3.org/tr/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset= ...
1. select top @pagesize * from table1 where id not in  (select top @pagesize*(@page-1) id  from table1 order by id) order by id 2. select *  from (select top @pagesize * from (select top @pagesize*@page * from table1 order by id) a order by id desc) b order by id 哪种方法更好?试了一下. 做两个table,各有1万条记录,一个ta ...
Global site tag (gtag.js) - Google Analytics