`
八岭书生
  • 浏览: 104465 次
  • 性别: Icon_minigender_1
  • 来自: 福州
社区版块
存档分类
最新评论
文章列表
<script type="text/javascript"> function changeColor(table, color, background, wordcolor){ var t=document.getElementById(table).getElementsByTagName("td"); for(var i=0;i<t.length;i++){ t[i].style.backgroundColor=color; t[i].onmouseover=function(){ i ...

测试jquery

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset ...
从http://sourceforge.net/projects/jexcelapi/files/中下载jxl.jar包 然后导入到工程中 package test; /** * 读取Excel文件的内容 * @param file 待读取的文件 * @return 生成Excel的类 */ import java.io.File; import java.util.ArrayList; import java.util.List; import jxl.Workbook; import jxl.format.Bor ...
从http://commons.apache.org/email/download_email.cgi下载最新的Common Email,版本1.2。     TestCommonEMail类   package org.mail.test; import org.apache.commons.mail.EmailAttachment; import org.apache.commons.mail.EmailException; import org.apache.commons.mail.SimpleEmail; public class TestCommonEMai ...
HelloWorld.java   package use.basic; import java.io.IOException; import java.io.Reader; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryBuilder; imp ...
Spring3.1的IoC实例
  import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Demo{ private static final String LL = "Decompiling this copyrighted software is a violation of both your license agreement and the Digital Millenium Copyright Act of 1998 (http ...
方法一: 在server.xml中添加配置信息,即在”<GlobalNamingResources>“标记中,声明连接池的具体信息,添加内容如下:   <Resource name="jdbc/lian"    <!--资源名称-->     auth="Container"     type="javax.sql.DataSource"     maxActive="100" maxIdle="30" maxWait="10000&q ...
  <session-factory> <property name="connection.username">root</property> <property name="connection.url"> jdbc:mysql://localhost:3306/test </property> <property name="dialect"> org.hibernate.dialect.MySQLDialect </p ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset ...
显示在线人员列表   <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> & ...
记得要将代码放到ext-2.3.0(我用的是这个)中,才能运行哦,还有注意js和css的路径问题!!   1、支持命名空间(文件夹namespace中)   HelloWorld.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> 命名空间 </TITLE> <META NAME="Generator" CONTE ...
在学习JavaScript时的一些小结,呵呵...   html文档如下: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Ty ...
ajax.jsp   <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <me ...
package com.lian.jdbc; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class ConnectMySQL { /* * 数据库的连接工具类 */ private static final String Driver = "com.mysql.jdbc.Driver"; private static final String DBURL = "jdbc:m ...
Global site tag (gtag.js) - Google Analytics