Alberto,

> 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.

Your invocation of <fmt:setLocale> looks OK, so you should not be getting
the exception.

Which version of JSTL are you using?

Notice that version 1.0.2 was just released, and can be downloaded at

  http://jakarta.apache.org/builds/jakarta-taglibs/releases/standard/

with the release notes posted at

  http://jakarta.apache.org/taglibs/doc/standard-doc/ReleaseNotes.html

Please try using this latest version and let me know if your problem
persists.

Thanks,


Jan


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

Reply via email to