Hi,
im using struts2,hibernate3.2 and java1.5 in my application.In the
jsp,im taking date in the textfield i.e
<s:textfield name="obEIOutageBean.date" id="todays_date" value="%{obEIOutageBean.date}" />
In hibernate mapping file this property is like
<property name="date" column="OUTAGE_DATE" type="java.util.Date"/>
In the bean it is, java.utl.Date
when im giving the date value in the jsp, it is not setting to the bean. Is there any conversions required?. format of date is "DD/MM/YYYY". where i make this converion i.e compatible for retieving and storing the record.
i was stuck with this, if any one knows help me. thanks in advance.
Regards,
Ravi