I had the same problem and found this solution works. However, what I'm now trying to do is create Tag which takes date string as parameter and does the same conversion. For some reasen the two lines of code in tag don't work even they work in the jsp-page.
Here is my TAG, displayDate.tag:
And from the jsp-page I try to call it like this:
when the web:displayDate tag is executed I got exception:
What is causing that the code works on the jsp-page but not inside the tag ?