Category Archives: JSF

java.text.NumberFormat failures in numbers parsing

It often happens an application has to read decimal numbers/amounts in a locale dependent format. This is an old and standard issue. A simplest solution (in Java world) is to use a NumberFormat instance for a given locale: Please note … Continue reading

Posted in Java, JSF | Leave a comment

Empty strings instead of null values in JSF 2 on Tomcat 7

Recently I was developing a simple application in JSF 2. I moved the application from Glassfish application server to Tomcat 7.0.41 servlet container, migrating the solution from EJB 3.1 to Spring 3.2.4 at the same time. Under Tomcat I … Continue reading

Posted in Java, JEE, JSF, Spring, Tomcat | 2 Comments