zno2

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页

2016年8月6日 #

Linux 下安装tomcat 服务器

摘要: 1. 下载tomcat wget http://apache.fayea.com/tomcat/tomcat-7/v7.0.68/bin/apache-tomcat-7.0.68.tar.gz tar zxvf apache-tomcat-7.0.68.tar.gz 2. 下载JDK 进入www.o 阅读全文

posted @ 2016-08-06 07:45 zno2 阅读(115) 评论(0) 推荐(0) 编辑

yum 安装telnet

摘要: 检测是否安装 rpm -qa |grep telnet 安装 yum install xinetd yum install telnet-server yum -y install telnet 再次测试 rpm -qa |grep telnet 阅读全文

posted @ 2016-08-06 07:45 zno2 阅读(1418) 评论(0) 推荐(0) 编辑

nc

摘要: http://www.computerhope.com/unix/nc.htm 小样 nc -v [-w timeout] [destination] [port] 阅读全文

posted @ 2016-08-06 07:44 zno2 阅读(93) 评论(0) 推荐(0) 编辑

Linux相关常用工具

摘要: Xshell Xftp FortiClient SSLVPN 天融信 阅读全文

posted @ 2016-08-06 07:44 zno2 阅读(174) 评论(0) 推荐(0) 编辑

linux 查看版本

摘要: # cat /proc/version Linux version 2.6.18-348.el5 (mockbuild@x86-002.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Wed N 阅读全文

posted @ 2016-08-06 07:44 zno2 阅读(201) 评论(0) 推荐(0) 编辑

backquote

摘要: character (`) A backquote or backtick. echo 'date' date echo `date` 2015年 07月 03日 星期五 16:11:13 CST jstat -gc `ps aux | grep java | awk '/broker/ {prin 阅读全文

posted @ 2016-08-06 07:43 zno2 阅读(189) 评论(0) 推荐(0) 编辑

linux内存监控 free

摘要: free 命令详解: 执行命令后总共四行。 第一行: 列头 第二行: total 内存总数: 32881776 used 已经使用的内存数: 8324796 free 空闲的内存数: 24556980 shared 当前已经废弃不用,总是0 buffers: Buffer Cache内存数: 486 阅读全文

posted @ 2016-08-06 07:42 zno2 阅读(206) 评论(0) 推荐(0) 编辑

好的linux网站

摘要: site:www.tldp.org rpm http://www.computerhope.com/unix.htm 阅读全文

posted @ 2016-08-06 07:42 zno2 阅读(145) 评论(0) 推荐(0) 编辑

linux查看进程开始时间

摘要: ps -eo pid,lstart|grep [pid] 命令解释: -e Select all processes. -o,o Specify user-defined format. pid a number representing the process ID (alias tgid). l 阅读全文

posted @ 2016-08-06 07:42 zno2 阅读(534) 评论(0) 推荐(0) 编辑

命令之 ulimit

摘要: help ulimit help ulimit ulimit: ulimit [-SHacdefilmnpqrstuvx] [limit] Modify shell resource limits. Provides control over the resources available to t 阅读全文

posted @ 2016-08-06 07:41 zno2 阅读(162) 评论(0) 推荐(0) 编辑

using JSTL

摘要: http://docs.oracle.com/javaee/5/tutorial/doc/bnake.html JSTL(JSP Standard Tag Library) 阅读全文

posted @ 2016-08-06 07:40 zno2 阅读(85) 评论(0) 推荐(0) 编辑

javax.servlet.jsp.PageContext cannot be resolved to a type

摘要: 提供jsp-api的支持即可解决该问题。 注:provided 因为tomcat等容器中有该jar包,compile 级别会导致冲突报错。 阅读全文

posted @ 2016-08-06 07:40 zno2 阅读(131) 评论(0) 推荐(0) 编辑

jstl c

摘要: 例子:list中有两条数据 输出结果: 1||0||true||false 2||1||false||true 阅读全文

posted @ 2016-08-06 07:40 zno2 阅读(86) 评论(0) 推荐(0) 编辑

- Unknown tag (c:set).

摘要: 阅读全文

posted @ 2016-08-06 07:31 zno2 阅读(442) 评论(0) 推荐(0) 编辑

datebox 和 datetimebox 添加『清空』按钮

摘要: 需要引入 easyui-lang-zh_CN.js 效果图 阅读全文

posted @ 2016-08-06 07:30 zno2 阅读(736) 评论(0) 推荐(0) 编辑

jquery.parser.js 的 parseOptions 方法

摘要: // target 是DOM元素 // properties 是宿主的属性 $.parser.parseOptions(target,properties); 用到的方法 jQuery(elements) 将一个或多个DOM元素转化为jQuery对象。 attr(name) 取得第一个匹配元素的属性 阅读全文

posted @ 2016-08-06 07:29 zno2 阅读(954) 评论(0) 推荐(0) 编辑

easyui-dialog 弹窗

摘要: Insert title here POP 阅读全文

posted @ 2016-08-06 07:29 zno2 阅读(231) 评论(0) 推荐(0) 编辑

easyUI form sumit 中文乱码

摘要: jsp 编码方式: tomcat 编码方式: 原因: 编码不一致导致。 依据: This specifies the character encoding used to decode the URI bytes, after %xx decoding the URL. If not specifi 阅读全文

posted @ 2016-08-06 07:29 zno2 阅读(447) 评论(0) 推荐(0) 编辑

easyui 列表 条件检索

摘要: onclick="search()" 不要使用search命名检索方法,冲突,无法调用。 通用检索function 阅读全文

posted @ 2016-08-06 07:29 zno2 阅读(178) 评论(0) 推荐(0) 编辑

easyUI Methods

摘要: doc对象转jQuery 对象 $(doc Object); jQuery Object.控件名('方法'[,参数]); options 为该控件的属性 方式一: var opts = $('.easyui-datagrid').datagrid('options'); opts.loadMsg=" 阅读全文

posted @ 2016-08-06 07:28 zno2 阅读(232) 评论(0) 推荐(0) 编辑

datagrid 自定义 pager

摘要: $(document).ready(function(){ var p = $('.easyui-datagrid').datagrid('getPager'); $(p).pagination({ pageSize: 10,//每页显示的记录条数,默认为10 pageList: [10,20,30,40,50],//可以设置每... 阅读全文

posted @ 2016-08-06 07:28 zno2 阅读(262) 评论(0) 推荐(0) 编辑

struts2 、mybatis 、easyui 分页

摘要: rows page 控件自动提交这两个参数 pageSize number The page size. 10pageNumber number Show the page number when pagination is created. 1pageList array User can cha 阅读全文

posted @ 2016-08-06 07:28 zno2 阅读(169) 评论(0) 推荐(0) 编辑

jQuery form 插件

摘要: http://jquery.malsup.com/form/#getting-started 举例: ps:$('#ff').ajaxForm(options); 不会提交form表单,需要自己submit。 阅读全文

posted @ 2016-08-06 07:27 zno2 阅读(146) 评论(0) 推荐(0) 编辑

easyUI datagrid

摘要: 官网 http://www.jeasyui.com/ 文档 http://www.jeasyui.com/documentation/index.php the EasyUI necessary files http://www.jeasyui.com/download/ demo #case# 使 阅读全文

posted @ 2016-08-06 07:27 zno2 阅读(338) 评论(0) 推荐(0) 编辑

struts2 集成 easyui

摘要: 关键点: #json数据格式# datagrid: {"total":1,"rows":[{"name":"小李"}]} combobox: [{"value":"001","text":"小李"},{"value":"002","text":"小红"}] 其他: #获取json数据# 参考 使用M 阅读全文

posted @ 2016-08-06 07:27 zno2 阅读(257) 评论(0) 推荐(0) 编辑

1) data-options

摘要: <select class="easyui-combobox" data-options="editable:false"> <select class="easyui-combobox" editable=false> 以上两种方式都生效。 1. 只能选择不可以键盘输入 editable:fals 阅读全文

posted @ 2016-08-06 07:27 zno2 阅读(515) 评论(0) 推荐(0) 编辑

jgroups 常见概念

摘要: 组播(Multicast)传输:在发送者和每一接收者之间实现点对多点网络连接。 单播(Unicast)传输:在发送者和每一接收者之间实现点对点网络连接。 广播(Broadcast)传输:是指在IP子网内广播数据包,所有在子网内部的主机都将收到这些数据包。 永久组播组(224.0.0.0~224.0. 阅读全文

posted @ 2016-08-06 07:26 zno2 阅读(323) 评论(0) 推荐(0) 编辑

jgroups 入门

摘要: 官网地址:http://www.jgroups.org/ 聊天室示例:http://www.jgroups.org/tutorial/html/ch02.html 2.1. JGroups overview2.2. Creating a channel and joining a cluster2. 阅读全文

posted @ 2016-08-06 07:26 zno2 阅读(151) 评论(0) 推荐(0) 编辑

jQuery plugins 图片上传

摘要: http://plugins.jquery.com/ 用到一下插件: magnific popup 看大图 jQuery File Upload 多文件上传 jQuery Rotate 图片旋转 github 项目地址: git@github.com:witaste/imgupload.git 效果 阅读全文

posted @ 2016-08-06 07:26 zno2 阅读(124) 评论(0) 推荐(0) 编辑

使用dbcp : BasicDataSource

摘要: 需要 commons-dbcp2 com.oracle.ojdbc6 配置地址 http://commons.apache.org/proper/commons-dbcp/configuration.html 示例地址http://svn.apache.org/viewvc/commons/prop 阅读全文

posted @ 2016-08-06 07:25 zno2 阅读(491) 评论(0) 推荐(0) 编辑

conn,stmt,rset 的关闭(规范)

摘要: Connection conn = null; Statement stmt = null; ResultSet rset = null; try { conn = dataSource.getConnection(); stmt = conn.createStatement(); ... 阅读全文

posted @ 2016-08-06 07:25 zno2 阅读(365) 评论(0) 推荐(0) 编辑

initialSize,maxTotal,maxIdle,minIdle,maxWaitMillis

摘要: conn = dataSource.getConnection(); // 时间点T1 // T1 至 T2 这段时间,该连接为活跃连接 conn.close(); // 时间点T2 // 时间点T2 之后,连接被连接池回收,如果此时idle连接超过maxIdle ,则会释放连接 case: 阅读全文

posted @ 2016-08-06 07:25 zno2 阅读(11760) 评论(0) 推荐(0) 编辑

defaultAutoCommit

摘要: driver default The default auto-commit state of connections created by this pool. If not set then the setAutoCommit method will not be called. 如果不设置,则 阅读全文

posted @ 2016-08-06 07:25 zno2 阅读(656) 评论(0) 推荐(0) 编辑

建立数据库连接方式之二:直连

摘要: package cn.zno.jdbc.jdbc; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class Main { public static void main(String[] args) { Strin... 阅读全文

posted @ 2016-08-06 07:24 zno2 阅读(875) 评论(0) 推荐(0) 编辑

JDBC 常用驱动类及url格式

摘要: 1. oracle 2. mysql 3. 阅读全文

posted @ 2016-08-06 07:24 zno2 阅读(241) 评论(0) 推荐(0) 编辑

dbcp 是什么

摘要: Many Apache projects support interaction with a relational database. Creating a new connection for each user can be time consuming (often requiring mu 阅读全文

posted @ 2016-08-06 07:24 zno2 阅读(302) 评论(0) 推荐(0) 编辑

getConnection 区别

摘要: 1. 这是一个接口 DataSource.class 2.这是一个dbcp实现类,返回由连接池管理的连接。 BasicDataSource.class 3. 创建连接并返回 DriverManager.class 阅读全文

posted @ 2016-08-06 07:24 zno2 阅读(423) 评论(0) 推荐(0) 编辑

建立数据库连接方式之一:桥接

摘要: 特点:依赖ODBC,移植性差 阅读全文

posted @ 2016-08-06 07:23 zno2 阅读(633) 评论(0) 推荐(0) 编辑

JDBC 是什么

摘要: JDBC is a Java database connectivity technology (Java Standard Edition platform) from Oracle Corporation. This technology is an API for the Java progr 阅读全文

posted @ 2016-08-06 07:22 zno2 阅读(140) 评论(0) 推荐(0) 编辑

ODBC 是什么

摘要: In computing, ODBC (Open Database Connectivity) is a standard programming language middleware API for accessing database management systems (DBMS). Th 阅读全文

posted @ 2016-08-06 07:22 zno2 阅读(136) 评论(0) 推荐(0) 编辑

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页

导航