So That I Can Remember

Tuesday, August 31, 2010

Rounding double to two decimal places in Java

›
This is the simplest way i found. Double num = 2.554545; DecimalFormat twoDForm = new DecimalFormat("#.##"); retur...
Wednesday, February 24, 2010

Solving "Tomcat - java.lang.OutOfMemoryError: PermGen space" in linux

›
src : http://www.eukhost.com/forums/f33/tomcat-java-lang-outofmemoryerror-permgen-space-7675/ When you come across following error java.lang...
1 comment:
Wednesday, October 28, 2009

Problem !!! java.lang.ClassNotFoundException: [Ljava.lang.String

›
This, java.lang.ClassNotFoundException: [Ljava.lang.String is killing me a lot. I've suspected so many things about it, but actually is ...
Sunday, October 11, 2009

A simple secure MIME message SendMail function

›
Here is a simple secure MIME message sendMail function; public boolean sendMail(String to, String subject, String text) { Properties...
Friday, August 28, 2009

Oracle Sequence ID increase by double

›
if you are using trigger to generate sequence then might happened that the trigger is called twice. So to prevent from increasing the id val...
Thursday, August 27, 2009

Oracle: use timestamp to convert string to date

›
http://www.xinotes.org/notes/note/422/ You can use the timestamp keyword to convert a string to Date : select * from retail_transactions...
Friday, August 14, 2009

5 Regular Expressions Every Web Programmer Should Know

›
Here are 5 Regular Expressions Every Web Programmer Should Know http://immike.net/blog/2007/04/06/5-regular-expressions-every-web-programmer...
›
Home
View web version
Powered by Blogger.