You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sundar Sankar <fa...@gmail.com> on 2010/03/11 21:43:56 UTC

Locale based Type handler

Hi
I use Struts 2.0.11 for my web application. I have a text field that maps to
a java.util.date in my pojo. When my Locale is English, the date seems to be
set fine, But when my locale is es_CL, struts seems to be searching for a
setDate(java.lang.String) instead.
Am not sure why this is happening and if I need to configure something, so
that Struts would take care of setting the date object properly.

Any help here is appreciated.

Thanks,

-- 
Regards
Sundar S.