You are here

leelight's blog

50 Websites that make amazing use of javascript (T)

From :


Since the rise of Javascript frameworks like jQuery, Mootools and
Prototype, developers created stunning javascript solutions and effects
for their websites.

Below are 50 inspiring Websites that make good use of Javascript,
Websites which I have bookmarked over time for inspiration purpose.
Some of them are selected purely on look and feel, some have really
extraordinary Javascript functions implemented.

Oracle and java.sql.SQLException: No suitable driver

Blog Terms: 

Strange problem, just one part of simple code, works on my XP system, but not on Windows2003.

Connection connection=null;
connection = DriverManager.getConnection ("jdbc:odbc:thin@", "username", "password");
PreparedStatement pstmt = con.prepareStatement ("Select * from sometable");
ResultSet rset = pstmt.executeQuery();

Very simple SQL code for one servlet, but when i run it in Tomcat, i got this exception:

java.sql.SQLException: No suitable driver found for

"Cannot allocate memory" OutofMemory when call Ant to build Polish project in Tomcat

Blog Terms: 

I have written one J2EE web service which was run in Tomcat, this service will call Ant to build one J2ME Polish project. It can be run without problem, aber will got such exception "ProGuard is unable to obfuscate: Cannot run
program "java": error=12, Cannot allocate memory" after several times' building. This is abvious OutofMemory exception.

Tomcat service was run on CentOS linux, the first thing what i thought is to increase the initial memory of Tomcat.

HTTPS Connection with Tomcat and WTK emulator

Blog Terms: 

1. Tomcat Configuation

Creating HTTPS Connection

Firstly should create a temporarely SSL certificate to use the
Tomcat in an SSL mode.

MIDlet jar signing (a tutorial) Revised (T)

Blog Terms: 

Author: David Hayes

Recommended to visit original blog to view lots of useful comments 


Some Data Interchange Ways in Java ME

Blog Terms: 

Just record some ways of data interchange in J2ME.

1. XML

1.1 KXML


Size: 30 kb

XML Pull Parser, tested, low memory needed

1.2 XPP3

Install XCache for PHP 5 on CentOS

Blog Terms: 

XCache is a open-source opcode cacher, which means that it accelerates
the performance of PHP on servers. It optimizes performance by removing
the compilation time of PHP scripts by caching the compiled state of
PHP scripts into the shm (RAM) and uses the compiled version straight
from the RAM. This will increase the rate of page generation time by up
to 5 times as it also optimizes many other aspects of php scripts and
reduce serverload.

MyEclipse+Hibernate-My Exceptions List

Blog Terms: 

Environment: hibernate 2 and Oracle 9i:
This post will record the strange exceptions I have met.

Exception 1:

java.sql.SQLException: ORA-02289: sequence does not exist

SVN Subclipse crashed my Eclipse

Blog Terms: 

Few days ago when I was working with Eclipse (3.2), without any premonition, my eclispe crashed. It only showed me one error windows with unuseful message. Then my nightmare began. Everytime I restart Eclipse, it just crashed with the error windows and I have checked the logs, only found some strange message, does not tell me where is wrong. That is crazy, I did nothing why it crashed. And I tried Eclipse 3.3, the same problem.

Page Loading: Animated Progress Indicators (T)

Origianl Source:

If you’re developing AJAX features, or if your database driven web
site requires a few seconds to grab some information, you need some
kind of visual clue, letting your users know that they will have to
wait while something is happening. Right?



Subscribe to RSS - leelight's blog