Hello Nestor, Personally, I consider it a good practice - and simpler - to handle dates as String objects (in the presentation layer, that is). This will save you lots of server-side-headaches and ease your way, especially when you have to face internationalization issues (for instance, different date formats). Formatting your data on the server's side will save you some time, especially when you present the same data in several places. The only important implication I'd see with this approach is the impact that it could have on client-side components that depend on this data (such as calendars), but then, if those also handle i18n issues, then there shouldn't be such impact (or it should be minimum).
My humble opinion, Freddy. -----Mensaje original----- De: Néstor Boscán [mailto:[EMAIL PROTECTED] Enviado el: viernes, 20 de mayo de 2005 16:52 Para: 'Struts Users Mailing List' Asunto: Using html:text with java.util.Date property Hi I'm trying to use the html:text tag with date properties and I'm getting java.lang.IllegalArgumentException: type mismatch. Any ideas? Regards, Néstor Boscán --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]