tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frederic Houbie" <frede...@houbie.co.uk>
Subject RE: datetime taglib not working with java.sql.Timestamp variable
Date Mon, 19 Nov 2001 08:48:55 GMT
OK, I use getTime() to return a long, it's ok, but how can I tell the
tag to use Locale settings for formating date ? 

Frederic

-----Original Message-----
From: glenn@zathras.earthdome.org [mailto:glenn@zathras.earthdome.org]
On Behalf Of Glenn Nielsen
Sent: samedi 17 novembre 2001 13:55
To: Tag Libraries Users List
Subject: Re: datetime taglib not working with java.sql.Timestamp
variable

The datetime taglibrary doesn't support the java.sql.Timestamp class.
According to the javadocs for java.sql.Timstamp, it and java.util.Date
are not interchangeable. Currently the taglib uses java.text.DateFormat,

which only accepts a Date object.

Regards,

Glenn

Frederic Houbie wrote:
> 
>    Part 1.1    Type: Plain Text (text/plain)
>            Encoding: 7bit

-- 
----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

--
To unsubscribe, e-mail:
<mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:taglibs-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message