Hi All!
I'm using the formatter library with dates.
I set the locale, but I get the following exception when I use this from IE
on Mac.
Does anybody knows if there is a problem using this this tags in IE on Mac.
The code I have in jsp file is:
----------------------------------------------------------------------------
------------------------------------------------
<fmt:setLocale value="${locale}" />
<fmt:formatDate value="${lastEditedDate}" var="editedDate" type="both"
dateStyle="short" timeStyle="short" />
locale is a java.util.locale variable.
----------------------------------------------------------------------------
-------------------------------------------
I get the following exception with swedish locale:
----------------------------------------------------------------------------
----------------
java.io.UnsupportedEncodingException: sv_SE
at sun.io.Converters.getConverterClass(Converters.java:107)
at sun.io.Converters.newConverter(Converters.java:138)
at
sun.io.CharToByteConverter.getConverter(CharToByteConverter.java:67)
at java.io.OutputStreamWriter.(OutputStreamWriter.java:75)
at com.newatlanta.servletexec.Response.getWriter(Response.java:892)
at
com.newatlanta.servletexec.JSP10JspWriter.writeToWriter(JSP10JspWriter.java:
230)
at
com.newatlanta.servletexec.JSP10JspWriter.flush(JSP10JspWriter.java:166)
----------------------------------------------------------------------------
--------------------------------------------
Thanks!
Alejandra
--
To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>