simpledateformat « Thread « JSP-Servlet Q&A





1. SimpleDateFormat in Servlets    stackoverflow.com

I'm using a lot of SimpleDateFormat-objects within my Servlet. Unfortunately, SimpleDateFormat is not thread-safe. Thus, I thought about wrapping it wih ThreadLocal to foster the reuse of SimpleDateFormat-objects. I wrote an ...