Codebox Software

Codebox Articles

Accessing JSP values from JavaScript

Technique for providing safe, easy JavaScript access to data held in JSP variables.
read more

Unit Testing JavaBeans

A simple method for using reflection to unit test JavaBean classes with just a single line of code.
read more

JavaScript Unit Testing

A simple method for producing robust JavaScript for form validation, or anything else
read more

JavaScript Object Printer

This useful function produces a string containing the names and values of all the properties of an object
read more

Virus found in BitMeter! ... not

AVG AntiSpyware is being somewhat over-enthusiastic, and currently classifies the latest BitMeter installer as a Trojan horse
read more

BitMeter on Windows Vista

At first BitMeter looked like it would run with no problems on Windows Vista - then I started getting emails describing strange behaviour, upload/download figures that were way too high...
read more

HTML Conditional Comments

A useful technique for separating Internet Explorer CSS rules from those intended for less 'special' browsers.
read more

So, which version of Java are you using?

Things started off simply enough, Sun launched the Java platform back in the 90s, and by 1997 we had version 1.1 of the 'JDK' (or Java Development Kit) as it was known. Even in those early days things were a little confusing...
read more

Targetted Traffic is King!

"Hello, I represent a company that has a very unique opportunity we would like to discuss with your firm ..<snip>.. replace 404 pages on the "client side" with a page pulled from our own server ..<snip>.. replace listings 2-9 on ANY Google, yahoo, or msn search the user does with listing from our very own feed ..<snip>.. place a splash page ad in front of any site (by name)!..."
read more