`
文章列表

dom4j2

http://www.ibm.com/developerworks/cn/xml/x-dom4j.html
package com.meizu58.dom4j; import java.io.File; import java.io.FileWriter; import java.util.Iterator; import java.util.List; import org.dom4j.Attribute; import org.dom4j.Document; import org.dom4j.DocumentHelper; import org.dom4j.Element; import org.dom4j.Node; import org.dom4j.io.OutputFormat; imp ...

时间格式化

    博客分类:
  • java
import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public static void main(String [] args){ Date date=new Date(); System.out.println(date); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat sdf2 = new Sim ...
<script type="text/javascript">   window.onload=function(){     alert(222);   }   </script>
1.本地连接(windows) ORCL =   (DESCRIPTION =     (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))     (CONNECT_DATA =       (SERVER = DEDICATED)       (SERVICE_NAME = orcl)     )   ) 2.本地连接(linux) EXTPROC_CONNECTION_DATA =   (DESCRIPTION =     (ADDRESS_LIST =       (ADDRESS = (PROTOCOL = IPC) ...

js三级滚动条

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <!DOC ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>  <script language="javascript"> var areaArray = new Array(); areaArray[areaArray.length]=new Array("1","杭州"); areaArray ...

js 弹出框

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <% String path= request.getContextPath(); %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>弹出框< ...
DB2数据库常用命令集  http://www.meizu58.com www.beijing-jiaoyou.com     1.关闭db2 db2stop 或db2stop force。 在脚本中一般两个都写上,避免使用db2stop force命令,如: db2stop db2stop force 2.启动db2 db2start 3.创建数据库 db2 create db <db name>或db2 create db using codeset GBK territory CN ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head>   <title> New Document </title>   <meta name="Generator" content="EditPlus">   <meta name="Author&q ...

display显示.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head>   <title> New Document </title>   <meta name="Generator" content="EditPlus">   <meta name="Author&q ...
server.xml <Context path="/mos/bbs" reloadable="true" docBase="D:/Documents and Settings/Administrator/workspace/bbs/WebRoot"           workDir="${catalina.home}/work" crossContext="true">               <Resource auth="Container&quo ...

表格增加标题

<table align="center" width="100%" id="data"> <!-- 表头区:开始 --> <caption style="font-size:20px;">数据集名称</caption> <tr> <th>地面</th>     <th>高空</th> <th>海洋</th> </tr> ...
方法总结 方法一:在线安装 1.打开HELP-&gt;MyEclipse Configuration Center。切换到SoftWare标签页。 2.点击Add Site 打开对话框,在对话框Name输入Svn,URL中输入:http://subclipse.tigris.org/update_1.6.x 3.在左边栏中找到Personal Site中找到SVN展开 ...
<Connector URIEncoding="GBK" port="8080" protocol="HTTP/1.1"                connectionTimeout="20000"                redirectPort="8443" />
Global site tag (gtag.js) - Google Analytics