My action: public class MyAction{ private MyBean bean; //getter setter..... }
public class MyBean{ private Date start; //setter getter.... } <s:form.... <s:textfield .... name=bean.start /> If the value of start is '2010-12-12 12:00:00',the parmameter start can be populated to my bean correctly,however if the format is '2010/12/12 12:00:00',it will show me a error "can not parser the date',so I wonder if there is any parameter can be set for populating parameter?