摘要: 1 package com.frame.util; 2 3 import java.io.BufferedReader; 4 import java.io.InputStreamReader; 5 import java.io.UnsupportedEncodingException; 6 impo 阅读全文
posted @ 2014-07-09 10:16 Pioneerlug 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 一、下载tomcatcd /usr/local/srcwget http://mirror.bit.edu.cn/apache/tomcat/tomcat-7/v7.0.50/bin/apache-tomcat-7.0.50.zip二、解压安装tomcatyum install unzip -yun... 阅读全文
posted @ 2014-04-24 17:20 Pioneerlug 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 下载地址:http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html1. 安装JDK1.7.0下载完成后在取得root权限后执行:[root@sea sea]# sudo rpm... 阅读全文
posted @ 2014-04-23 15:02 Pioneerlug 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 一、什么是禅道项目管理软件 禅道项目管理软件(ZenTaoPMS)是一款国产的111,基于LGPL协议,开源免费的项目管理软件,它集产品管理、项目管理、测试管理于一体,同时还包含了事务管理、组织管理等诸多功能,是中小型企业项目管理的首选。官方网站:http://www.zentao.net 禅道项目 阅读全文
posted @ 2013-11-11 14:41 Pioneerlug 阅读(926) 评论(0) 推荐(0) 编辑
摘要: /* Copyright Notice ===================================================* * This file contains proprietary information of Trust-Mart Inc which is * owned by Trust-mart, Inc. * Copying or reproduction without prior written approval is prohibited. * Copyright (c) 2004 ================================== 阅读全文
posted @ 2013-11-07 11:09 Pioneerlug 阅读(1741) 评论(0) 推荐(1) 编辑
摘要: 1 重要按钮配置项 handler: renderTo: 2 3 取得控件及其值 4 var memo = form.findById('memo');//取得输入控件 5 alert(memo.getValue());//取得控件值 6 7 NumberField控件 8 整数,小数,数字限制,值范围限制 9 10 new Ext.form.NumberField({ 11 fieldLabel:'整数', 12 allowDecimals : false,//不允许输入小数... 阅读全文
posted @ 2013-11-07 10:18 Pioneerlug 阅读(419) 评论(0) 推荐(0) 编辑
摘要: PrintWriter out = null; out = response.getWriter(); try{ URL getUrl = new URL("http://www.kuaidi100.com/applyurl?key="+KEY+"&com="+com+"&nu="+nu); //System.out.println("getUrl:"+getUrl); // 根据拼凑的URL,打开连接,URL.openConnecti... 阅读全文
posted @ 2013-11-07 10:12 Pioneerlug 阅读(442) 评论(0) 推荐(0) 编辑
摘要: public static void targetZoomOut(String sourcePath) { //将目标图片缩小成256*256并保存 File file1 = new File(sourcePath); //用file1取得图片名字 String name = file1.getName(); try { BufferedImage input = ImageIO.read(file1); BufferedImage inputbig = new BufferedImage(256, 256... 阅读全文
posted @ 2013-11-07 10:10 Pioneerlug 阅读(2120) 评论(0) 推荐(1) 编辑
摘要: Ext.form.Action.Submit的配置选项success、failure是根据返回json中success属性判断的,如果success为true,则success,false则failure,如果无json中无success属性,failure,故要提示操作是否成功,必须要返回success属性。Ext.Ajax.request的配置选项success、failure是根据response的status属性,即状态码决定的,200则为success,404或500等则为failure。 阅读全文
posted @ 2013-11-07 10:09 Pioneerlug 阅读(272) 评论(0) 推荐(0) 编辑