Redirect to referrer page using only the meta tag

July 27th, 2009

While there may be several ways to return to the referring url using javascript, php etc, the same effect can be achieved in a painless way using the ‘meta’ tag and Server Side Includes. This recipe shows you how.

Get system information using Java

July 19th, 2009

In earlier versions of jdk, the only way to get some kind system level information was through the Runtime class. Jdk 1.5 however, introduced the OperatingSystemMXBean, through which OS level information can be obtained easily.

AJAX style file upload without page refresh

July 13th, 2009

Need to quickly implement a cross browser solution for Ajax type file upload but too lazy to read all the exhaustive tutorials out there? This quick how-to might be just for you. Although the server side code shown here uses PHP, this solution can be adapted for Java, Perl or whatever else you use on the server side.

Sponsors