For anyone working with any other modern language, (such as CFML, C#, JavaScript, Ruby, and more), using a String within a switch-case statement is not an issue, and probably something you've done many times without thinking about.
However, when working in Java you cannot use strings in a switch statement.
Fortunately, despite what many sites suggest, there is a solution - read more...
Posted by Peter on 12-December-08 at 21:50 ~ 3 comments ~ Category: java , cfml , web-dev