You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Alberto Tomas <al...@hotmail.com> on 2002/10/22 12:03:50 UTC

fmt:setLocale problem

Hy all,
I'm using the i18n tags of JSTL in my JSP which is running over 
jboss-3.0.1RC1_tomcat-4.0.4. My JSP has these i18n tags:

<%@ taglib uri="jstl-fmt" prefix="fmt" %>
<fmt:setLocale value="en" scope="session"/>

I have added standard.jar and jstl.jar to WEB-INF/lib, fmt.tld to WEB-INF 
and the following tags to web.xml:

<taglib>
<taglib-uri>jstl-fmt</taglib-uri>
<taglib-location>fmt.tld</taglib-location>
</taglib>

When the JSP is called, the following exception appears:

org.apache.jasper.JasperException: Illegal scope attribute without var in 
"fmt:setLocale" tag.

Somebody knows what's wrong?
Thank you in advance.

_________________________________________________________________
MSN Fotos: la forma más fácil de compartir e imprimir fotos. 
http://photos.msn.es/support/worldwide.aspx


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>