Nov 16th, 2011, 08:07 AM
View custom data types
Hi, sorry about my English
I want to know what is the best way to show an object in a jsp view, I get the object from the database and I want to show it without create any wrapper object that transform the data types.
The problem is that the object have boolean parameters, but when the object will be shown at the view I would like to see "YES" and also with dates.
I have tried "initBinder" but it only works with forms, also I have tried jsp/jstl/fmt but its not very usefull for me, I would like something to transform the information.
Thanks for your help!