Struts 2 date field problem

2011-09-28 Thread karthick.gunasekaran
I want to get the struts 2 date field as Date, But it return the string value, My bean property is date data type any way Is there to directly get the date data type from struts 2 date tag Please do not print this email unless it is absolutely necessary. The information contained in this elec

Re: Struts 2 date field problem

2011-10-11 Thread Li Ying
Did your problem happens when date input or output? For output case, the tag can let you choose the format to use. See: http://struts.apache.org/2.x/docs/date.html For input case, Struts2 can convert HTTP parameters from String into most of data type you need, include Date. But for Date, it [us

RE: Struts 2 date field problem

2011-10-11 Thread karthick.gunasekaran
From: Li Ying [mailto:liying.cn.2...@gmail.com] Sent: Tuesday, October 11, 2011 6:37 PM To: Struts Users Mailing List Subject: Re: Struts 2 date field problem Did your problem happens when date input or output? For output case, the tag can let you choose the format to use. See: