Varma: two this, what timestamp r u using ? if itz java.sql.timestamp please mention this property in ur formbean declaration in struts-config.xml
<form-beans> <form-bean name="<your form bean>" type="your full package scope"> <form-property name="startDate" type="java.sql.startDate"/> </form-bean> if u do this, jsp parsing will know what type of data is stored and what class to use to typecase it to and appy toString on the object to get respective data on the jsp form. Regards Chetan ----- Original Message ----- From: "varma dvk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 28, 2003 11:36 AM Subject: Re: Reading Date > > I Declared Timestamp obj in my bean to store the date, it is giving > IllegalArugumentException in jsp, when i'm trying to get it from jsp using > <html:text property="startDate"/> > > Cheers > Varma > > > > > > > >From: Rick Reumann <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >Subject: Re: Reading Date > >Date: Thu, 27 Feb 2003 22:55:27 -0500 > > > >On Fri, Feb 28,'03 (09:20 AM GMT+0530), varma wrote: > > > > > Hi All > > > How can i read a date from the jsp using struts, i defined date > > > variable > > > of type timestamp. it is throwing exception... > > > >What do you mean "read a date from the jsp" and what exception is it > >throwing? Are you getting an error just trying to declare your date in > >the page? > > > > > >-- > >Rick > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > _________________________________________________________________ > Hutch MSN Cricketer- ball by ball action - Download Now! > http://server1.msn.co.in/msnspecials/cricketdownload/contest.asp > > > --------------------------------------------------------------------- > 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]