Re: Struts 2.2.3 Date type convesrion issue

2011-08-22 Thread Mano Pájaro
Hello Shrinivas, the problem you're having is that your textfield is not returning a date object, is returning a String, so it is looking for the setBirthday(String) as it says. I had the same problem and, at the end of the day, i had to do this: SimpleDateFormat format = new

Struts 2.2.3 Date type convesrion issue

2011-08-18 Thread Shrinivas Parashar
Hi, I am getting following error if my model has a field of type java.util.Date. I am using struts 2.2.3. I have appropriate getter and setter method for birthday. JSP snippet: s:textfield name=user.birthday label=Enter your birthday. (mm/dd/yy)/ java.lang.NoSuchMethodException: