Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

Locale based Type handler

Sundar Sankar

2010-03-11


Author LoginPost Reply
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.
©2008 gg3721.com - Jax Systems, LLC, U.S.A.