struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Jessell <>
Subject RE: Dates and Struts
Date Wed, 22 Aug 2001 11:43:36 GMT
Yes - I've looked at the code and it doesn't. Best bet is to have a String
injector/selector, then validate this in the validate() method of the form.
The way I have done it is to have 'String only' injectors/selectors,
validate the fields in validate() method of the form, then write a procedure
'toBean' in my form, which is called by perform() in my Action class, which
returns a representation of my form with the correct types.

-----Original Message-----
From: Matt Raible []
Sent: 22 August 2001 12:39
Subject: Dates and Struts

Is it true that Struts cannot handle a java.sql.Date or java.util.Date
datatype?  I seem to get errors everytime I try to have one in my form.



Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger


If you are not the intended recipient, employee or agent responsible for delivering the message
to the intended recipient, you are hereby notified that any dissemination or copying of this
communication and its attachments is strictly prohibited.

If you have received this communication and its attachments in error, please return the original
message and attachments to the sender using the reply facility on e-mail.

Internet communications are not secure and therefore the UCLES Group does not accept legal
responsibility for the contents of this message.  Any views or opinions presented are solely
those of the author and do not necessarily represent those of the UCLES Group unless otherwise
specifically stated.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses although this does not guarantee that this
email is virus free.


View raw message