莫理琴的专栏

私信 关注
pcjavanet
码龄19年
  • 781,148
    被访问量
  • 276
    原创文章
  • 5,428
    作者排名
  • 88
    粉丝数量
  • 目前就职 新美亚科技深圳有限公司
  • 于 2002-08-15 加入CSDN
获得成就
  • 获得26次点赞
  • 内容获得89次评论
  • 获得58次收藏
荣誉勋章
TA的专栏
  • Golange
  • javascript
    48篇
  • JFreeChart
    4篇
  • liferay
    22篇
  • Linux
    72篇
  • python
    1篇
  • struts2
    25篇
  • tool
    91篇
  • 开发出错集合
    46篇
  • 开发随笔
    52篇
  • 文摘
  • 算法
    8篇
  • 配置文件
    5篇
  • compass 例子(代码完整篇)
  • java
    19篇
  • ASM
  • Design Patterns
    1篇
  • SQL
    1篇
  • rabbitmq
    1篇
  • spring boot
    1篇
  • SPC
    1篇
  • 最近
  • 文章
  • 资源
  • 问答
  • 课程
  • 帖子
  • 收藏
  • 关注/订阅

STS install plugin with proxy

keytool -import -alias sub -keystore /home/myhome/tools/jdk1.8.0_192/jre/lib/security/cacerts -file /home/my/Downloads/sub-vmargs-Djavax.net.ssl.trustStore=/home/myhome/tools/jdk1.8.0_192/jre/lib/security/cacerts-Djavax.net.ssl.trustStorePassword...
原创
43阅读
0评论
0点赞
发布博客于 7 月前

spring-tool-suite-4-4.6.0.RELEASE-e4.15.0-linux.gtk.x86_64.tar.gz

Spring Tools 4 is the next generation of Spring tooling for your favorite coding environment. Largely rebuilt from scratch, it provides world-class support for developing Spring-based enterprise applications, whether you prefer Eclipse, Visual Studio Code, or Theia IDE.
gz
发布资源于 10 月前

Delete the same JAR with ls result

A folder has part jars which exist B folderA: /usr/local/tomcat/libB: /usr/local/tomcat/projectwebapps/yourProject/WEB-INF/libcd/usr/local/tomcat/libls /usr/local/tomcat/projectwebapps/you...
原创
46阅读
0评论
0点赞
发布博客于 10 月前

apache-tomcat-7.0.103 error

Client send Get method to get JSON databackground throw exceptionInvalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986edit $TOMCAT_HOME/conf/s...
原创
223阅读
0评论
0点赞
发布博客于 10 月前

install pgadmin4

vim /etc/apt/sources.list.d/pgdg.list deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - sudo apt-...
原创
71阅读
0评论
0点赞
发布博客于 10 月前

chmod 777 根目录导致问题

不小心使用 chmod 777 /导致 sudo su - 使用不了, root 也无法登录。提示如下sudo:sudo /etc/sudoers is world writablesudo:no valid sudoers sources found ,quittingsudo:unable to initialize policy plugin执行以下pkexecchmod...
原创
194阅读
0评论
0点赞
发布博客于 11 月前

go/gocode version

go gocode 版本不一致导致Eclipse不提示的解决方法go get -u -v github.com/mdempsky/gocodeEclipse go插件的设置
原创
650阅读
1评论
0点赞
发布博客于 11 月前

Extjs4 store filter function

tmpStore= new Ext.data.Store({ model: 'monitorGroup' , proxy: { type: 'ajax'...
原创
92阅读
0评论
0点赞
发布博客于 1 年前

less 查找显示匹配字符

1.在用户 home目录创建~/.lessfilter touch ~/.lessfilter2.添加脚本内容#!/bin/shcase "$1" in *.awk|*.groff|*.java|*.js|*.m4|*.php|*.pl|*.pm|*.pod|*.sh|\ *.ad[asb]|*.asm|*.inc|*.[ch]|*.[ch]pp|*.[ch...
原创
705阅读
0评论
0点赞
发布博客于 2 年前

extjs4 grid sample

Ext.require([ 'Ext.data.*', 'Ext.grid.*']);var TOTAL = 94; //randomvar fetchedData = function () { this.data = null; this.total = 0;};function getRandomDate() { var from = n...
转载
59阅读
0评论
0点赞
发布博客于 2 年前

显示ext4js form 校验出错的结果

Ext.create('Ext.form.Panel', { title: 'Simple Form', bodyPadding: 5, width: 350, // The form will submit an AJAX request to this URL when submitted url: 'save-form.php', // Fi...
转载
61阅读
0评论
0点赞
发布博客于 2 年前

Liferay struts2 portlet return JSON

struts.xml    <package name="namexxx"    extends="struts-portlet-default" namespace="/">        <action name="fetchServerData" class="accessServerProxyAction" method="fetchServe
原创
114阅读
0评论
1点赞
发布博客于 2 年前

liferay 容器下的servlet

web.xml    <servlet>        <servlet-name>YourServlet</servlet-name>            <servlet-class>com.liferay.portal.kernel.servlet.PortalDelegateServlet</servlet-class>...
原创
159阅读
0评论
0点赞
发布博客于 2 年前

javaagent学习

pom.xml<project xmlns="http://maven.apache.org/POM/4.0.0"    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.o...
原创
208阅读
0评论
1点赞
发布博客于 2 年前

dubbo项目maven依赖

https://github.com/apache/incubator-dubbo 下载后编译不通过 mvn clean package.试试这个
gz
发布资源于 2 年前

追加postgresql table column

DO$$BEGINIF not EXISTS (SELECT column_name FROM information_schema.columns WHERE table_schema='spc' and table_name='tableName' and column_name='new_column_name') THEN ALTER TABLE tableName  ADD CO...
原创
516阅读
0评论
0点赞
发布博客于 3 年前

Spring Data JPA without Spring Boot

src/main/webapp/WEB-INF/spring/context.xml <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema...
转载
323阅读
0评论
0点赞
发布博客于 3 年前

Minitab Z-MR chart 是如何計算的

例子數據來源https://msu.edu/course/stt/200/melfi/mtbdata/Exh_qc.MTW(以下拷貝來源)Z 控制图Z 控制图中的每个数据点 ziMR 控制图每个组中的每个数据点 Ri(z 值的移动极差)。如果 i < w,将不标绘 Ri,因为它未定义。表示法项 说明 xi 观测值 i μ 该组的均...
原创
672阅读
0评论
0点赞
发布博客于 3 年前

spring boot web bean容器

谷歌过,别人说 GC root 里面的 stack 强引用就不会回收.骗谁啊.stack frame 已执行就收回了. 啥也不说了.
原创
112阅读
0评论
0点赞
发布博客于 3 年前

spring boot simple sample

import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.EnableAutoConfiguration;import org.springframework.web.bind.annotation.RequestMapping;import org.spri...
原创
498阅读
0评论
0点赞
发布博客于 3 年前

Extjs4 Grid column tip实现

var grid = new Ext.grid.GridPanel({ renderTo: 'xxxGrid',    store:  store,    columns: [         {header: 'key',flex: 1, dataIndex: 'key' , hidden:true},         {header: 'monit...
原创
323阅读
0评论
0点赞
发布博客于 3 年前

Ubuntu virtualbox不能识别 USB

sudo vim /etc/group找到 vboxusers:x:xxx改为 vboxusers:x:126:yourLoginName重启
原创
694阅读
0评论
0点赞
发布博客于 3 年前

java 远程调用 rabbitmq

新增管理员用户,虽然缺省(看起来是所有权限)都有,实际依然虽然手工点击一下 (Set permission)不然会提示一下错误Exception in thread "main" java.io.IOException      at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106)      at com.rabbitmq...
原创
194阅读
0评论
0点赞
发布博客于 3 年前

rabbitmq 远程登录

rabbitmqctl add_user username passwordrabbitmqctl set_user_tags username administrator
原创
480阅读
0评论
0点赞
发布博客于 3 年前

virtualbox 不能识别USB设备

sudo usermod -G vboxusers -a currentUserName,其中currentUserName是你要使用vbox的当前用户名reboot
原创
5116阅读
0评论
0点赞
发布博客于 3 年前

mybatis 使用 log4j debug sql

配置log4j  输出 mybattis输出# Global logging configurationlog4j.rootLogger=ERROR, stdout# MyBatis logging configuration...log4j.logger.com.xxx..dao.mybatis.BlogMapper=TRACE# Console output...log4j.appender....
原创
483阅读
0评论
0点赞
发布博客于 3 年前

ubuntu install smartgit

sudo add-apt-repository ppa:eugenesan/ppasudo apt-get updatesudo apt-get install smartgithg
原创
371阅读
0评论
0点赞
发布博客于 4 年前

jdk1.8中文百度

java api jdk 中文
zip
发布资源于 4 年前

Java SE Development Kit 8u144 Documentation下载

Java SE Development Kit 8u144 Documentation
zip
发布资源于 4 年前

Docker 设置proxy

不同版本的ubuntu应对的docker 代理方法
转载
2443阅读
0评论
0点赞
发布博客于 4 年前

vncserver xstartup

Linux vnc4server 启动窗口
原创
4546阅读
0评论
0点赞
发布博客于 4 年前

Ubuntu自动启动Virtualbox 实例

Ubuntu自动启动Virtualbox 实例
转载
2177阅读
0评论
0点赞
发布博客于 4 年前

Ubuntu expect使用经验

自动登录远端目标机器    autoLogin.sh#!/usr/bin/expect set password yourPasswordspawn ssh  -p yourPortt  xxx.xxx.xxx.xxxset timeout 30000expect "root@xxx.xxx.xxx.xxx's password:"set timeout 30000
原创
2642阅读
0评论
0点赞
发布博客于 4 年前

EXTJS 4 Json nested data in grid panel

{ "success":true, "error":false, "redirectUrl":null, "fund":[{ "cat_id":1, "catname":"Europe OE Japan Large-Cap Equity", "region":{ "region_id":2, "region_name":"JAPAN"
转载
410阅读
0评论
0点赞
发布博客于 4 年前

nexus 2.6.2 bundle

Nexus 2.6.2
gz
发布资源于 4 年前

Postgresql SQL 选择每组的前面几条记录

Postgresql SQL 选择每组的前面几条记录
原创
2396阅读
0评论
0点赞
发布博客于 5 年前

extjs6 cmd(bit64 Linux)

Cmd is the cornerstone for building your Sencha apps. Sencha Cmd provides a full set of lifecycle management features to complement your Sencha projects.
zip
发布资源于 5 年前

extjs6 cmd(bit32 Linux)

Cmd is the cornerstone for building your Sencha apps. Sencha Cmd provides a full set of lifecycle management features to complement your Sencha projects.
zip
发布资源于 5 年前

ext6 开发包

extjs6下载 This is the Sencha Ext JS Framework Package, or just "ext" for short.(30 days) Try Sencha Ext JS for 30 Days
zip
发布资源于 5 年前

/usr/bin/env: node: 没有那个文件或目录

npm install -g bower bower install/usr/bin/env: node: 没有那个文件或目录ln -s /usr/bin/nodejs  /usr/bin/noderoot@# bower -version1.7.9
原创
3319阅读
0评论
1点赞
发布博客于 5 年前

Ubuntu 下Mysql server 远端访问

1. comment  /etc/mysql/mysql.conf.d/mysqld.cnf    bind-address  =127.0.0.112. execute sqlgrant all on *.* to root@'%' identified by 'mysql';   //root username   mysql user's passwordflush privil
原创
341阅读
0评论
0点赞
发布博客于 5 年前

mysql postgres convert tool

mysql ,postgresql 之间的互相转换。需要在window安装
zip
发布资源于 5 年前

chrome 32bit for ubuntu

Google Chrome 42.0.2311.90 (32-bit)
deb
发布资源于 5 年前

ubuntu can't add add-apt-

environmentuname -aLinux jerry-xia-pc 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linuxappearanceadd-apt-repository ppa:webupd8team/y-pp
原创
876阅读
0评论
0点赞
发布博客于 5 年前

Java patterm source

Java 设计模式代码示例 包含二十三种模式。是初接触模式不可多得的代码示例。超值下载
tar
发布资源于 5 年前

Ext4 两种访问Restful 方式

1. datastore 方式Ext.define('User', {      extend: 'Ext.data.Model',      fields: ['id', 'name', 'email']  });  var s1 = Ext.create('Ext.data.Store', {       model: 'User',  autoload:f
原创
1543阅读
0评论
1点赞
发布博客于 5 年前

CXF跨域的两种方法

web.xml 方案1        CORS        com.thetransactioncompany.cors.CORSFilter                    cors.allowGenericHttpRequests            true                            cors.allo
原创
3100阅读
0评论
0点赞
发布博客于 5 年前

ubuntu 升级后

Error found when loading /root/.profilestdin:is not a tty解决方法注解mesg,加入 tty -s && mesg#mesg ntty -s && mesg
原创
610阅读
0评论
0点赞
发布博客于 6 年前

lieray 配置文件liferay-look-and-feel.xml

lieray 配置文件liferay-look-and-feel.xml
原创
567阅读
0评论
0点赞
发布博客于 6 年前

EXTJS4.1.0

个人认为这个版本还可以。可以直接通过浏览器打开里面的example
zip
发布资源于 6 年前

Extjs 4.0 正式版

Extjs 4
zip
发布资源于 6 年前

struts-2.3.4-all

Struts框架2.3.4最新版本 struts-2.3.4-all struts-2.3.4-all
zip
发布资源于 6 年前

ext4.2.0完整包

Ext JS 4.2 is a pure JavaScript application framework that works on all modern browsers from IE6 to the latest version of Chrome. It enables you to create the best cross-platform applications using nothing but a browser, and has a phenomenal API
zip
发布资源于 7 年前

ext4.2.1完整包

Ext JS 4.2 is a pure JavaScript application framework that works on all modern browsers from IE6 to the latest version of Chrome. It enables you to create the best cross-platform applications using nothing but a browser, and has a phenomenal API
zip
发布资源于 7 年前

Liferay postgres 8.4的驱动,9.3数据库抛出异常

22:00:39,557 ERROR [SchedulerMessageListener:53] Unable to process message {destinationName=liferay/scheduler_engine, responseDestinationName=null, responseId=null, payload=com.liferay.portal.kernel.s
原创
1157阅读
1评论
0点赞
发布博客于 7 年前

tomcat 容器重复包异常

org.apache.axis.deployment.wsdd.WSDDException: java.lang.ClassCastException: org.apache.axis.encoding.ser.BeanSerializerFactory cannot be cast to org.apache.axis.encoding.SerializerFactoryjava.lang.
原创
1281阅读
0评论
0点赞
发布博客于 7 年前

自动关闭tomcat

使用Tomcat/Eclipse调试的时候,经常会发生
原创
908阅读
0评论
0点赞
发布博客于 7 年前

Ubuntu14.04 安装JDK7

sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudoapt-get install oracle-java7-installer
原创
2874阅读
0评论
0点赞
发布博客于 7 年前

ubuntu14.04 安装Oracle-jdk-7的设置

Download done.Removing outdated cached downloads...update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/java_vm to provide /usr/bin/java_vm (java_vm) in 自动模式update-alternatives: using /
原创
1775阅读
0评论
0点赞
发布博客于 7 年前

Liferay的AUI框架

Liferay中的AUI框架,官方叫做Alloy,是一个UI超框架,能为浏览器的三方面,结构,风格和表现建立网络应用提供连续的简单的API。 它融合了三种设计语言:HTML, CSS 和 JAVA。 准确来说AUI是Liferay在YUI的基础上进行的Liferay扩展,以方便Liferay的一些实际应用和扩展。AUI的很多语法结构、使用方法都都和YUI相关不太多。熟悉YUI的能够快速熟悉AUI。
zip
发布资源于 7 年前

对数组中含特殊符号记录过滤并分组

var a={key:1, status :1};//0        var a2={key:2,status:1};//1        var a3={key:3,status:1};//2        var a4={key:4,status:1};//3        var a5={key:5,status:1};//4        var a6={key:6,
原创
580阅读
0评论
0点赞
发布博客于 7 年前

开发中对秒的认识

国际化开发中,避免不了时间的转换,
原创
603阅读
0评论
0点赞
发布博客于 7 年前

Eclipse集成Tomcat

如图1. 添加Tomcat2. 配置tomcat3.注意点
原创
601阅读
0评论
0点赞
发布博客于 7 年前

Extjs4 grid header 行隐藏checkbox

由于用户的需求是在grid中可以单选记录,同时也可以通过点击去掉刚刚选择的记录,因此checkbox是我们的不二选择。radio能满足单选需求,但去掉选择不方便。具体实现代码如下var sm = new Ext.selection.CheckboxModel({      listeners:{ selectionchange: function(model,selected,opti
原创
4382阅读
0评论
0点赞
发布博客于 7 年前

spring 两种事务的使用

1. 在代码中使用 @Transactional具体实现applicationContext-dao.xml     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"        xmlns:context="http://www.springframework.org/schema/context
原创
3656阅读
0评论
0点赞
发布博客于 8 年前

如何删除ubuntu13.03面板的快捷图标

按住Alt+鼠标右键点击图标 ,弹出 移动及从面板上删除选项,选择删除cd   /home/$USER_HOME/.config/gnome-panel/lauchers删除对应的desktop文件
原创
1179阅读
0评论
0点赞
发布博客于 8 年前

如何使Ext line Chart 等效 JFreeChart Bytime 图

a.在Ext画line图是两点连线,相对来Jfreechart说很简单,在SPC的应用中,Jfreechart画P,U chart时UCL,LCL是类似长城凹凸形状的,因此在Ext line图直接连接原有的点是不可能画出跟Jfreechart一样效果的图形。b.在Ext line Chart图中,我们选 type :'Category' 的原因是坐标均匀,而 type:'Numeric' 显示
原创
1476阅读
0评论
0点赞
发布博客于 8 年前

ubuntu apt-get 命令的代理设置

在/etc/apt目录下建立文件生成文件apt.conf添加内容如  Acquire::http::proxy   "http://user_name:password@172.26.28.xxx:74000";
原创
1198阅读
0评论
0点赞
发布博客于 8 年前

Extjs4 在store中获取root之外的json数据

Ext.regModel( "model", {fields: [' fielname']  } );var store  = new Ext.data.Store( {model: 'model',pageSize : 20,loadMask : true, proxy: {type: 'ajax',url : '/structsAction.action
原创
3783阅读
0评论
0点赞
发布博客于 8 年前

Ubuntu 12.04 vnc4server 的gnome 设置

apt-get install vnc4serverapt-get install vncviewerapt-get install  vimvnc4server :1ps -elf|grep  vnc  kill  -9   vnc pidvim /root/.vnc/xstartup#!/bin/sh# Uncomment the following two lines for
原创
3063阅读
2评论
0点赞
发布博客于 8 年前

java访问远端Linux及执行远端Linux命令

package util;import java.io.ByteArrayInputStream;import java.io.PrintStream;import java.util.List;import org.apache.commons.io.output.ByteArrayOutputStream;import org.apache.sshd.Cli
原创
1991阅读
1评论
0点赞
发布博客于 8 年前

Java byte类型转16进制字符串及逆转

public static String asHex(byte buf[]) {        StringBuffer strbuf = new StringBuffer(buf.length * 2);        int i;        for (i = 0; i         {            if (((int) buf[i] & 0xff)
原创
810阅读
0评论
0点赞
发布博客于 8 年前

spring 3 事务例子

环境 pom.xml 包依赖                postgresql          postgresql          8.4-702.jdbc4                      commons-pool          commons-pool          1.6
原创
462阅读
0评论
0点赞
发布博客于 9 年前

postgres JdbcTemplate 新增记录后的返回值

环境 pom.xml 的依赖包                  postgresql          postgresql          8.4-702.jdbc4                      commons-pool          commons-pool          1.6
原创
1431阅读
0评论
0点赞
发布博客于 9 年前

Ext Grid 添加分页及工具条

var store=new Ext.data.Store({            pageSize: itemsPerPage,  }); var panel = new Ext.grid.GridPanel({               loadMask:true,               autoScroll : true,
原创
1504阅读
0评论
0点赞
发布博客于 9 年前

动态改变Ext store的参数

var itemsPerPage = 20 ;var store =new Ext.data.Store({            pageSize: itemsPerPage,            fields : [             'yourfield1',             'yourfield2',            ],
原创
5341阅读
0评论
0点赞
发布博客于 9 年前

ext-jsb spket

ext-jsb spket引入的js
zip
发布资源于 9 年前

spket1.6.23 Eclipse 插件

spket1.6.23 Eclipse 插件 , 已被破解,将压缩文件解压至droins
zip
发布资源于 9 年前

mybatis generator eclipse plugin

自动生成映射类 Eclipse Mybatis Generator 自动生成映射类 Eclipse Mybatis Generator
zip
发布资源于 9 年前

用给定的分割字符串组去分割字符串

如标题,通过给定的分割字符串组,对字符串进行分割,最后返回分割好的字符串组,详细代码如下public static void main(String args[]){        String content1=",a,b,c,," ;        String flag1 = ",";        System.out.println( splitStringByFlag(
原创
878阅读
0评论
0点赞
发布博客于 9 年前

viirtualbox安装centos报错

屏幕出现错误信息如下" unknown interrupt or fault EIP 00000060 c04011ed 000011ec"更改设置 -->系统 -->处理器-->扩展特性 [ 选中 启用PAE/NX 选项]详细如下图
原创
817阅读
0评论
0点赞
发布博客于 9 年前

pattern source

niufish 的设计 模式代码,java 版本。
rar
发布资源于 9 年前

Ubuntu 12.04 gedit 打开中文乱码问题

在ubuntu 12.04里的  gedit  版本是3.4.1中文乱码解决方法安装 dconfig-editor apt-get install dconf-tools输入命令  dconf-editor找到位置 org.gnome.gedit.preferences.encodins设置值auto-detected ['UTF-8','G
原创
1480阅读
0评论
0点赞
发布博客于 9 年前

Ubuntu 12.04 Eclipse 支持中文

设置 gedit  /var/lib/locales/supported.d/local 如下zh_CN.UTF-8 UTF-8en_US.UTF-8 UTF-8zh_CN.GBK GBKzh_CN.GB2312 GB2312重新配置dpkg-reconfigure --force locales设置 Eclipse  window->preference-
原创
756阅读
0评论
0点赞
发布博客于 9 年前

activity5.9 例子报404错误

http://127.0.0.1:8080/activiti-explorer/HTTP Status 404 - type Status reportmessage description The requested resource () is not available.Apache Tomcat/6.0.32原因activiti-5.9/ap
原创
2323阅读
0评论
1点赞
发布博客于 9 年前

如何将子表记录和主表记录在同一行显示

CREATE TABLE table1(  id bigint NOT NULL,  name character varying(50),  CONSTRAINT table1_pkey PRIMARY KEY (id ))WITH (  OIDS=FALSE);CREATE TABLE tablesub1(  dbid bigint NOT
原创
996阅读
0评论
0点赞
发布博客于 9 年前

VirtualBox的vdi映像导入遇到的uuid冲突问题

在ubuntu12.04下 已安装xp虚拟系统,如路径 '/home/pcjavanet/virtualBox/xp.vdi'拷贝文件至路径为  '/home/pcjavanet/virtualBox/xp2.vdi'赋值xp2.vdi的文件UUID命令vboxmanage  internalcommands sethduuid /home/pcjavanet/virtualBox/x
原创
1157阅读
0评论
0点赞
发布博客于 9 年前

Activity for Eclipse plugin

Activity for eclipse plugin .Version:5.9.3 下载后直接解压至dropins 目录下就能正常工作 ,然后启动 eclipse -clean
zip
发布资源于 9 年前

ajaxForm动态绑定及移除绑定

var action="" ;     var options = {              formType :'normal',            target: '#MyResult',            url:    '/'+action,            type  :'post',            beforeSubmit : show
原创
723阅读
0评论
0点赞
发布博客于 9 年前

处理java servlet 下载弹出框显示文件的乱码

private String processFileName(String fileName,String agent) throws IOException{        String codedfilename = null;        if (null != agent && -1 != agent.indexOf("MSIE")){              String
原创
1579阅读
0评论
0点赞
发布博客于 9 年前

ubuntu12.04 直接修改/etc/hostname报错

原因修改了/etc/hostname 而没修改 /etc/hosts程序启动报错如下java.net.UnknownHostException: cool: cool: 未知的名称或服务    at java.net.InetAddress.getLocalHost(InetAddress.java:1438)    at org.exoplatform.servi
原创
2113阅读
0评论
0点赞
发布博客于 9 年前

Ubuntu 12.04--Eclipse subclipse error

Failed to load JavaHL Library.These are the errors that were encountered:no libsvnjavahl-1 in java.library.pathno svnjavahl-1 in java.library.path/opt/local/lib/libsvnjavahl-1.0.0.0.dylib: no sui
原创
550阅读
0评论
0点赞
发布博客于 9 年前

ubuntu12.04+firefox13+jdk7+applet

cd /usr/lib/mozilla/pluginsln -s /usr/lib/jvm/java-7-oracle/jre/plugin/i386/ns7/libjavaplugin_oji.so ./
原创
732阅读
0评论
0点赞
发布博客于 9 年前

ubuntu 错误 无法获得锁 /var/lib/dpkg/lock - open (11: 资源暂时不可用)

E: 无法获得锁 /var/lib/dpkg/lock - open (11: 资源暂时不可用)E: 无法锁定管理目录(/var/lib/dpkg/),是否有其他进程正占用它 rm -rf /var/cache/apt/archives/lock rm -rf /var/lib/dpkg/lock
原创
1378阅读
0评论
0点赞
发布博客于 9 年前

ubuntu 12.04 一些设定

Install Cinnamon 1.4 on Ubuntu 12.04 sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stablesudo apt-get updatesudo apt-get install cinnamonUbuntu 12.04 root登陆
原创
1013阅读
0评论
0点赞
发布博客于 9 年前

google json API--json to java ojbect

下载 google json 解析包http://code.google.com/p/google-gson/downloads/listpackage googleJsonStudy;import com.google.gson.Gson;public class JsonToStudent {    public static void main(String[
原创
629阅读
0评论
0点赞
发布博客于 9 年前

ubuntu下jad下载的版本

jad 下载网址 http://www.varaneckas.com/jad/在ubuntu12.04 执行jad jad: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory下载的版本为
原创
1974阅读
0评论
0点赞
发布博客于 9 年前

如何将要下载文件在下载前压缩

在web application中,有时需要查看log4j产生的log文本文件,在网络速度有限时,在下载log文件前将其读入内存并转化成压缩内容直接下载,不但速度快,而且不用在服务器上硬盘产生压缩文件,具体代码如下jsp代码 String filename = request.getParameter("filename"); String selfPath = t
原创
676阅读
0评论
0点赞
发布博客于 9 年前

JQuery and Ext 4 Cross Domain sample

Ext 部分1 store 获取跨域数据  Ext.define('User', {    extend: 'Ext.data.Model',    fields: ['id', 'name', 'age']});var store = Ext.create('Ext.data.Store',{model : 'User',autoLoad : fals
原创
619阅读
0评论
0点赞
发布博客于 9 年前

maven 自动发布更新本地和远程仓库

本地仓库的更新mvn  clean package install 远程仓库的更新mvn clean package deploy工程文件pom.xml的设置                                                            org.apache.maven.plugins
原创
4867阅读
0评论
0点赞
发布博客于 9 年前