hongyabing
- 浏览: 32374 次
- 性别:
- 来自: 广州
社区版块
- ( 0)
- ( 1)
- ( 3)
最新评论
文章列表
- 博客分类:
注意:所有使用的架包都已经在这里面了,目标不支持tomcat8经过查询源码,发现tomcat自带架包缺少,tomcat集成redis架包中的类redissessionmanager有使用到lifecyclesupport类,而lifecyclesupport这个类在tomcat架包中不存在,目前基于tomcat 7来搭建环境。
- 2018-05-02 14:55
- 浏览 450
- 分类:企业架构
- 博客分类:
mysql:
string driver="com.mysql.jdbc.driver"; //驱动程序
string url="jdbc:mysql://localhost:3306/db_name"; //连接的url,db_name为数据库名
string username="username"; //用户名
string password="password"; //密码
class.forname(driver).ne ...
- 2012-09-03 14:22
- 浏览 703
- 分类:数据库
package com.study.io.inputstream_outputstream;
import java.io.ioexception;
import java.io.pipedinputstream;
import java.io.pipedoutputstream;
/***
* 多线程读取管道流操作
* @author administrator
*
*/
public class pipedstreamdemo {
public static void main(string[] arg ...
- 2012-08-07 14:51
- 浏览 3365
- 分类:编程语言
- 博客分类:
/** * 合并分割的文件 * 即:使用序列流来合并分割的文件 * 注意:合并文件时,必须按之前的分割的文件顺序去合并,不然会出现错误 * @throws ioexception */ public static void merge()throws ioexception{ file file1=new file("f:\\pic\\1.part"); file file2=new file("f:\\pic\\2.part"); ///通常不适用vector效率比 ...
- 2012-08-06 22:40
- 浏览 1085
- 分类:编程语言
- 博客分类:
jsp获取项目根路径
<%
string path = request.getcontextpath();
string basepath = request.getscheme() "://" request.getservername() ":" request.getserverport() path "/";
%>
- 2012-07-24 17:58
- 浏览 1001
- 分类:编程语言
- 博客分类:
var xscroll = document.body.scrollwidth; //获取整个浏览器窗口的宽度
//event.clientx 获取鼠标移动的位置 即宽度
var x = (( xscroll - event.clientx ) > 300) ? event.clientx : event.clientx-(xscroll - event.clientx );
- 2012-07-12 17:53
- 浏览 963
- 分类:web前端
- 博客分类:
在myeclipse中打开 首选项->xml-xml catalog 中添加user specified entries
点击add 弹出窗体选择 file system.... ,key type选择system id key随便写
http://duzitianya.iteye.com/blog/814884
org.mybatis
mybatis-spring
- 2012-07-09 21:52
- 浏览 1596
- 分类:企业架构
- 博客分类:
mybatis 中文帮助文档以及mybatis包
http://www.leadfar.org/html/javase_1180_944.html
- 2012-07-08 21:49
- 浏览 1694
- 分类:企业架构
« 上一页 1