i have one storedprocedure in database.from that i can get last login time .i fetched that value and assigned that value to session in one servlet class.from that session i am getting that last login time value and displaying in a jsp page.
the value is displaying.upto this is ok.
but if i want to format that date and time why i am not able to do that.
when i am doing format with SimpleDateForma t()..it is giving error.
what i have to do?
thanx in advance...
the value is displaying.upto this is ok.
but if i want to format that date and time why i am not able to do that.
when i am doing format with SimpleDateForma t()..it is giving error.
what i have to do?
thanx in advance...
Comment