You are here

leelight's blog

Quickly to log your code with log4j in 3 minutes

If you are one lazy programmer like me and have no time to read the document of log4j but still want to use log4j, try to read the following.

At least you'd better know that log4j is one tools to help you debug and log what happened with your code, anywhere and anywhen. I was used to use System.out.println() to debug my code, and I have written one function to do that:

Blog: 

Integrate J2ME Mobile Clients into Web Service 2 -- Create Web Service and J2EE Client


2 Create Web Service


2.1 Create Web Service Project

Enter the %AXIS2_HOME%/samples (Here is D:\ProgramFiles\axis2\samples) , there are many Web Service good example here. If you are not clear about how to create one Web Service from nothing, just like me, those examples are good turorials. Now I will use one and modify it to be our first Web Service.

Integrate J2ME Mobile Clients into Web Service 1 -- Install Web Service

In this post I will build one Web Service with Axis2, and write one J2ME application as one Web Service client. We will know how Web Service works with mobile client.

Strange Exceptions when Compiling Code and Solutions in J2ME Polish (updated often)

During the J2ME development with J2ME Polish, sometimes I met some strange exception when I debugged or compiled the codes. In this post I will write down them all and the according solution(if I have Tongue out), so this post will be updated frequently.

How to send cross site request in Ajax?

Cross site or not?

If you are Ajax programmer, and you want get some data from other site(with different domain), you will get such similar exception message in browser:
Error: uncaught exception: Permission denied to call method XMLHttpRequest.open

Blog: 

Microsoft released JScript Hotfix to improve Ajax Web Performence

You may experience slow Web browser performance when you view a Web page that uses JScript in Internet Explorer 6 on a Windows Server 2003-based computer or on a Windows XP-based computer.  And Microsoft has released JScript Hotfix to improve Ajax Web Performence.
Yes, I like Ajax Web 2.0 but I can not tolerant the slowly loading speed if there are many JS GUI in the web page.  Microsoft explained the reason:

Blog: 

javax.servlet.ServletException: Unknown initial character set index '48' received from server. Initial client character set can

This week I reinstalled my system, and I found one J2EE Servlet project can not be run after I reinstalled all of the programming softwares and eclipse, this project does connect MySQL database(This project had no problem before). I got this Exception: javax.servlet.ServletException: Unknown initial character set index
'48' received from server. Initial client character set can be forced
via the 'characterEncoding' property.

 Strange, I went to ask my Google friend and I found those information:

Blog: 

JavaScript Prototype Library Make Google Maps Easily by GPlotter

No JavaScript programming, only need copying and a little compiling with XML data, you can also create your own Google Map. Work with JavaScript Prototype LibraryGPlotter can let you create Google Map in sevral lines of code, without any javascript knowledge.

"GPlotter is a Javascript object which provides a simple interface to plot
markers onto Google Maps using a simple XML file. The interface allows the user

Pages

Subscribe to RSS - leelight's blog