it should insert in either of the cases ...
         try this :
                     (new java.util.Date()).toLocaleString();
        this should work from everywhere ....
            getback if any problem
         all the best

regards
kris


----- Original Message -----
From: Neelu Mehta <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 22, 2000 7:25 AM
Subject: Date problem in JSP


> Hi All
>
>         If i'm using SQL date in Session and Entity beans and i'm passing
>  Date(not defined whether SQL or Util or u can say its Util) from JSP then
> it's giving SQL Exception while creating a record, then i changed JSP'date
> to first Util Date then that Util date to SQL date now its inserting a
> record into Database
> I want to ask why it's neccessary ???
> Can't we handle date at Session or Entity level
>
> Thanks in advance
> Neelu
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to