Hi Steve

It sounds like you are passing a String into a property that accepts Date
objects here.
You aren't receiving Date objects from the JSP, you are receiving Strings.
Try converting the String into Date objects first.

Scott

> -----Original Message-----
> From: Steven Dahlin [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, March 04, 2002 8:23 AM
> To:   [EMAIL PROTECTED]
> Subject:      argument type mismatch
> 
> When attempting to submit a jsp page with some fields for a database
> filled 
> out I get the following:
> 
> java.lang.IllegalArgumentException: argument type mismatch
> at java.lang.reflect.Method.invoke(Native Method) at
> org.apache.struts.util.PropertyUtils.setSimpleProperty(PropertyUtils.java:
> 988)
> 
> I am getting an apparent mismatch between my database fields which are
> date 
> and time respectively (using postgresql) and the values which I presume
> are 
> submitted by the jsp. I have checked the archives but found no real answer
> 
> to how this is handled with struts.  Any suggestions?
> 
> Steve
> 
> 
> 
> 
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>

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

Reply via email to