Since it's a request parameter it will go as a String in the form bean.
So you must have date field as a String in the form bean. Later on you
can convert that to a Date object by using java.text.SimpleDateFormat
class.

Regards
Ritesh

-----Original Message-----
From: Softwareentwicklung Hauschel
[mailto:[EMAIL PROTECTED]] 
Sent: Thursday, January 30, 2003 8:27 PM
To: Struts Users Mailing List
Subject: java.util.date in edit form


Hey all,
i've got an edit form, where i have to input a date.
In my Form.java class the matching properties type is java.util.Date.

But there ist an error submitting the form -> "ServletException:
BeanUtils.populate"

If i delete the date Field, the form/action works ;-(

How can i input a date with struts ?

Fredy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to