自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

smile_juan

Liferay, Frameworks(Spring,MyBatis, Hibernate, etc), Java...

  • 博客(11)
  • 资源 (6)
  • 收藏
  • 关注

转载 When start tomcat, got the error: Resource /WEB-INF/classes not found

javax.naming.NameNotFoundException: Resource /WEB-INF/classes not found at org.apache.naming.resources.BaseDirContext.listBindings(BaseDirContext.java:733) at org.apache.naming.resources.ProxyDirCon

2013-01-30 00:09:36 2472

转载 _blank, _self, _parent, _top, _new

_blank opens a new windows _self opens within the same window _parent is used with a frame, it will open within the inner frame _top is also used with a frame, it will open using the entire w

2013-01-24 22:39:12 2872

原创 JAXB annotations

Here is an example I need to deal with, it looks complicated. With the help of JAXB, it's really easy to get all values from the xml file. For example: article.xml world World A co

2013-01-22 06:29:59 899

原创 Jersey make REST call

When we make a rest call and the response is XML or JSON, it would be better to use plugins other than from scratch. I chose to use Jersey and JAXB. It's very convenient to code. 1. We need to add je

2013-01-22 06:15:51 978

原创 Read properties file in a jar

When I set the path of properties file, it's OK when we run in IDE. When I packed it in a jar and tried to run that, it won't pass. It seems strange because the path of the properties will be changed

2013-01-22 01:56:05 683

原创 Java Send email

Sometimes we want to send an email out when catch an exception. We need to use javax.mail jar to help us to do that. Actually we have several ways to do that. Here is to introduce the easiest way with

2013-01-22 01:37:49 1812 1

原创 log4j create a new log file every day

After I joined in new project, I realized log is very important. We can log in console or file. Here is to introduce a way to log in file without overwrite. It's really easy to use log4j. # Define

2013-01-22 01:24:31 1218

原创 Java Iterate directory to find files and edit

After mannually modified about 100 pages, I'm tired of doing that. So it's better to write a small program to deal with those thing. 1. We need to find those files which we need to modify in differen

2013-01-18 01:13:50 653

原创 Make IDE(Eclipse) not overwrite our configured server setting

This is because of the default setting of IDE. By default, it overwrites every thing we configured when we restart the server.  Go to Windows->Preferences->Server, and uncheck the selectbox.

2013-01-12 04:21:18 592

转载 Spring global exception handling with standalone app

I have a standalone app, I need to catch all exceptions. There's one case that when I disconnect the internet, I couldn't connect the database, and database operations are in another component. It'll

2013-01-10 05:12:46 1504 1

转载 java.lang.String cannot be resolved, Indirectly referenced from required .class file

Here is the solution. It's similar to the link I found. http://dev-answers.blogspot.com/2009/06/eclipse-build-errors-javalangobject.html Go to properties of project with the build error (right c

2013-01-08 00:37:27 1626

JIRA用户使用手册(详细版)

JIRA的使用手册,是我自己联系的时候写的,大家可以参考一下,感觉写的还是比较详细了

2009-11-23

Android学习资料

Android的学习资料,不好的地方就是是繁体字版本的,有兴趣的可以自己参考一下吧,我也是刚刚才学,很多都还不会的

2009-11-23

自己动手写一个RSS

这是自己写的一个RSS,重用性和可扩展性都是很好的,是学习RSS的好资料

2009-02-28

金山打字游戏,联系打字的可以看看

这是一款金山打字游戏的程序,大家可以试试,要做这方面打字开发的可以看看,学习里面的打字模式来设计自己的打字游戏

2009-02-13

仿真平台软件(Java,JBuilder)

这是自动化的专业设计,是一个用Java开发的程序,公牛类似于eclipse,大家可以学习一下

2009-02-13

自己手写web服务器源码

自己手写的一个web服务器,实现了304,Cookie和Session。对于初学web服务器的很有帮助

2009-02-10

空空如也

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

TA关注的人

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