Nov 8, 2011
How to redirect homepage in Joomla
Joomla is a wonderful platform to publish websites. With readily available templates you can have your website up and running in no time. Sometimes though you m
May 21, 2010
Sort numbers in Java to find minimum and maximum values without using Array
Recently a reader contacted me with a question about sorting numbers in Java. After sorting the number the program then needs to print the largest and smallest
Feb 23, 2010
Java String comparison. The difference between == and equals().
Many Java beginners find it difficult to differentiate between == operator and the “equals()” method when comparing String variables in Java. They a
Feb 17, 2010
An HTML element you don’t want to omit.
As web developers we have the tendency to blame web browsers for inconsistencies and for not displaying the pages as designed. Most of the time the blame is jus
Feb 1, 2010
Why you should stop using onload method.
It is amazing that many web developers still use onload method embedded in the BODY tag, like <HEAD> <BODY onload=”document.contact.userID.focus(
Feb 1, 2010
How to remember CSS Shorthand properties
Using margin or padding properties of CSS in the following syntax is straight forward. { padding-top:5px; padding-right:12px; padding-bottom: 15px; padding-left
Jan 29, 2010
Five free tools to choose perfect colors for your website.
Color coordination plays a big role in the look and feel of a website. An appealing color scheme is an important prerequisite for eye-catching web design. Dull
Jan 19, 2010
How to position HTML element in the center using CSS.
Positioning text in the center of an element is easily done using text-align:center property. But how do you position an entire element, for e.g; a div or an im
Jan 10, 2010
Reset CSS: A simple solution to browsers’ inconsistencies.
One of the challenges web designers face is to get various web browsers render their web pages in a consistent manner. The reason is every browser assigns sligh
Nov 25, 2009
How to convert an ArrayList to array in Java
Today, I will share a very basic Java program that converts an ArrayList to an array. For most Java developers this is a routine task, but many newcomers to Jav
Nov 17, 2009
How to validate date using Java regular expression
My earlier post on how to validate email address, SSN and phone number validation using Java regex still attracts a lot of visitors. Today I realized that anoth
Nov 9, 2009
How to write to properties file in Java
One of most visited posts on this blog is How to read properties file in Java. In that post I explained how you can read from a properties file. But many people
Nov 2, 2009
Best way to check if a Java String is a number.
An example on how to validate if a String variable in Java has all numeric digits.
Oct 15, 2009
Nine Must Have JavaScript Tools For Every Web Developer
Almost all major web development projects include some javascript. Developing Javascript may be easy for some but working around various browsers’ incompa
Oct 1, 2009
How to determine smallest and largest number in Java
A couple of weeks ago a reader asked me for a Java program to read command-line input from the user and then display the smallest value the user has entered. He