自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(60)
  • 收藏
  • 关注

转载 eclipse下的tomcat内存设置大小

eclipse下的tomcat内存设置大小在eclipse中设置,居然可以了,设置步骤如下:1.点击eclipse上的debug图标旁边的下拉箭头2.然后选择Run Configurations,3.系统弹出设置tomcat配置页面,在Argument中末尾添加参数中的VM arguments中追加:-Xms256M -Xmx512M -XX:P

2014-07-06 23:29:55 142

转载 Java 5 的新特性

自己学习时简单总结的Java5和Java6的新特性:Java5:1、泛型 Generics:引用泛型之后,允许指定集合里元素的类型,免去了强制类型转换,并且能在编译时刻进行类型检查的好处。Parameterized Type作为参数和返回值,Generic是vararg、annotation、enumeration、collection的基石。A、类型安全抛弃List、Map,

2014-06-22 08:22:36 158

转载 JSP EL

Jsp EL语法(转)例:${sessionScope.user.sex}所有EL都是以 ${ 为起始、以} 为结尾的。上述EL范例的意思是:从Session取得用户的性别。如果使用之前JSP代码的写法如下:User user = (User)session.getAttribute(”user”);String sex = user.getSex( );%>

2014-05-27 22:29:44 245

转载 The difference between quick viewer and query

Quick Viewer和SAP Query的差别  QuickViewer 和 SAP Query 是两种不同的创建SAP报表的工具,是SAP专门提供给没有任何ABAP背景的用户使用的。当然懂得ABAP的人也可以使用。他们有许多的不同之处1)QuickViewer只能用来创建最基本的报表,而SAP Query可以用来创建各式报表(统计,排序等功能)2)和SAP Query相比,在

2014-02-21 13:09:51 225

转载 the difference between SAP quickview and query

Quick Viewer和SAP Query的差别  QuickViewer 和 SAP Query 是两种不同的创建SAP报表的工具,是SAP专门提供给没有任何ABAP背景的用户使用的。当然懂得ABAP的人也可以使用。他们有许多的不同之处1)QuickViewer只能用来创建最基本的报表,而SAP Query可以用来创建各式报表(统计,排序等功能)2)和SAP Query相比,在

2014-02-21 13:08:39 163

原创 Config path in Mac

How to config the path in Mac OS, just want to share some comments here,1. General it is Bshell in Mac OS. so there is a ~/.bash_profile in the user home directory.2. Add the path content in this

2014-01-05 21:54:34 186

转载 职业生涯不能有的致命想法

1、总觉得自己不够好   这种人虽然聪明、有历练,但是一旦被提拔,反而毫无自信,觉得自己不胜任。此外,他没有往上爬的野心,总觉得自己的职位已经太高,或许低一两级可能还比较适合。这种自我破坏与自我限制的行为,有时候是无意识的。但是,身为企业中、高级主管,这种无意识的行为却会让企业付出很大的代价。    2、非黑即白看世界   这种人眼中的世界非黑即白。他们相信,一切事物都

2012-02-20 09:51:39 118

转载 difference between struts1 and struts2

struts2 struts1 difference

2011-05-30 11:17:00 118

转载 Java面试题

<br /> 今天被架构师问了一连串的问题,估计问了有一个多小时吧,有很多问题都答不上来,突然发现原来自己没有掌握的知识太多了,原来我觉得技术是用来解决问题的,而不是用来研究的,但现在觉得要更快捷的解决问题,还得好好的研究他们的原理,凡事多问个“他的原理是什么,底层是怎么实现的”,回来好好整理了一下知识点,我想就每一个知识点展开学习。<br /> 同时我也发现一个学习的好办法,当你觉得你学习没有什么方向的时候,可以去找公司的牛人聊聊天,相信你会有很大的收获的。 JDK1

2011-04-24 21:23:00 143

原创 哈弗大学图书馆管训

哈弗大学图书馆管训

2011-04-23 22:28:00 188

原创 error message and approach for struts2

error msaage and fix approach for struts2

2011-04-21 22:28:00 193

转载 difference between synchronized and ThreadLocal

ThreadLoal and Synchronized

2011-01-12 18:08:00 168

原创 A simple demo of Struts2

Struts2 demo

2010-12-24 12:48:00 166

原创 Reset password for Oracle user and change the password mandatory

Oracle reset password; expire

2010-11-22 14:05:00 363

原创 run a script file in mysql

mysql, sql script file running.

2010-11-16 16:46:00 195

原创 parse data file into oracle using procedure

Oracle procedure, data file import

2010-11-15 14:58:00 144

转载 parse xml using dom4j

Dom4j parse xml

2010-11-10 15:09:00 225

原创 start Oracle instance manually

start the Oracle instance manually.

2010-11-09 11:39:00 171

转载 在windows系统中配置关机和开机执行脚本

开机,关机,脚本配置

2010-09-27 10:18:00 1002

转载 android开发网站无法访问解决方法

android开发网站无法访问解决方法

2010-08-31 21:28:00 446

原创 difference between RequestDispatcher.forward() and reponse.sendRedirect()

difference between RequestDispatcher.forward() and reponse.sendRedirect()

2010-08-30 16:02:00 284

转载 remove old kernal in Ubuntu

remove the old kernal

2010-08-11 00:18:00 157

转载 Eclipse中启动Tomcat出错问题

WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:

2010-07-06 14:16:00 183

原创 Java Web Start 配置

Java Web Start 简介如果没有这些合适的工具,不论用什么语言,传统桌面应用程序的部署和维护对于开发人员都可能是主要的头疼问题。即使是最有效的支持部门,一想到发布新版本的软件时必须检查更新每台工作站,也不能不让他们感到头痛。为了方便 Java 开发人员的分发和维护需求,Sun Microsystems(已经被Oracle合并) 引入了 Java Web Start。这一技术很大程度上

2010-04-18 23:39:00 509

转载 查询oracle锁的sql

1. 查询oracle中死锁的sql: SELECT

2010-03-25 15:25:00 174

转载 Linux 输入输出重定向

linux重定向  I/O重定向详解及应用实例   1、 基本概念(这是理解后面的知识的前提,请务必理解)   a、 I/O重定向通常与 FD有关,shell的FD通常为10个,即 0~9;   b、 常用FD有3个,为0(stdin,标准输入)、1(stdout,标准输出)、2(stderr,标准错误输出),默认与keyboard、monitor、monitor有关;   c、 用   d、

2010-03-08 11:01:00 310

翻译 the auto run configuration in ubuntu

In Ubuntu os:in /etc/rc2.d directory, 里面有很多文件,找到形式为Sxyapache2、Sxymysql、Sxymysql-ndb、Sxymysql-ndb-mgm的文件,其中S代表自动启动,xy是一个两位数字,将S改成大写的K,将xy改成100-xy的值,以后它们就不会自动启动了,如果以后希望改为自动启动,可以再把它们的名字改回来。

2010-01-27 23:59:00 234

原创 How to be a good manager?

I was thinking on this question a whole day, how to be a good manager? I think the basic ability or responsibility of a good manager should be like the below:1. A good ability of finding a good huma

2009-12-13 20:25:00 602

原创 Mysql 从复制一个表的表结构和数据到一个新的表

create table cust_bak select * from customer 

2009-08-23 21:25:00 207

转载 Checked Exception VS unchecked Exception

异常的概念          任何的异常都是Throwable类(为何不是接口??),并且在它之下包含两个字类Error / Exception,而Error仅在当在Java虚拟机中发生动态连接失败或其它的定位失败的时候,Java虚拟机抛出一个Error对象。典型的简易程序不捕获或抛出Errors对象,你可能永远不会遇到需要实例化Error的应用,那就让我们关心一下Exception。  

2009-08-10 10:03:00 279

转载 JSF 获得 JSP的常规对象

request:FacesContext context = FacesContext.getCurrentInstance(); ExternalContext ec = context.getExternalContext(); HttpServletRequest request = (HttpServletRequest) ec.getRequest();session:Faces

2009-07-29 23:33:00 158

原创 Error message summary for JSF

1. Error Message:  java.lang.RuntimeException: Cannot find FacesContext at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1855) at javax.faces.webapp.U

2009-06-24 23:59:00 282

原创 如何查看本机IE的代理服务器地址

XP 操作系统,在命令行中,输入以下命令 netstat -ano  Proto  Local Address                Foreign Address        State                   PID TCP    10.158.139.90:2182     10.158.140.91:80       ESTABLISHED    

2009-02-09 14:24:00 4814 4

原创 Replace string using regular expression in java

We can using regular expression to replace some char in java. The below is aexample for remove blank and number and Punctuation.public class Www { /** * Description: * Conditi

2008-07-29 23:38:00 255

原创 A Runtime method that can be called when JVM terminate

A Runtime method that can be called when JVM terminateUse this method, you can do some finalizing action when the application terminate.The below is a example:package com.wt.java;public class Shutdown

2008-07-22 20:22:00 220

原创 servlet receive a object from client

@Override protected void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { System.out.println("----- in the server side -----"); Servle

2008-05-29 14:05:00 253

原创 send a request to servlet ( through object or http parameter )

send a java object to servlet: _con.setRequestProperty("Content-type","application/octet-stream"); OutputStream outStream = _con.getOutputStream(); ObjectOutputStream objStream = ne

2008-05-29 14:04:00 270

原创 jboss scheduler

jboss的schedule 是采用了单例模式,即一个定时执行的job在服务器上仅仅存在一个instance.下面给出一个简单的例子.the java file for schedule job:package com.ww.test;import java.util.Date;import org.jboss.varia.scheduler.Schedulable;

2008-03-27 11:09:00 332

原创 a shell script of auto login through ssh

#!/usr/bin/expect -fset timeout 30spawn ssh c0336001@kabta.corp.apple.comexpect "Password:"send "apple123/r"expect "c0336001"send "su - icdbd/r"expect "Password:"send "06icdbd/r"expe

2008-03-21 15:25:00 454

原创 the summary of thread

the summary of java thread :1. the lifecyle of thread :一个具有生命的线程,总是处于这五种状态之一:a.创建状态使用new运算符创建一个线程后,该线程仅仅是一个空对象,系统没有分配资源,称该线程处于创建状态(new thread)b.可运行状态使用start()方法启动一个线程后,系统为该线程分配了除CPU外的所需资源,

2008-03-21 09:23:00 221

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除