Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: fmt setLocale

Edson Alves Pereira

2003-12-09

Replies:

 Usually Standard Taglibs we get from Sun´s servers, do you have JSTL
in your local machine?

> ----------
> De:  Maxime Colas des Francs[SMTP:maxime@(protected)]
> Responder:  Tomcat Users List
> Enviada:  terça-feira, 9 de dezembro de 2003 13:14
> Para:  tomcat-user@(protected)
> Assunto:  fmt setLocale
>
> Hi all,
>
> I have a strange pb with my tomcat 4.1.29 and jstl
>
> this jsp works :
> <%@(protected)" %>
> <fmt:setLocale value="en" scope="session"/>
>
> this one not :
> <%@(protected)" %>
> <fmt:setLocale value="en" scope="session"/>
>
> (+ in web.xml
>   <taglib>
>    <taglib-uri>/tags/jstl-fmt</taglib-uri>
>    <taglib-location>/WEB-INF/tld/fmt.tld</taglib-location>
>   </taglib>
>  and tld at the right place)
>
> compilation error is : Illegal scope attribute without var in
> "fmt:setLocale" tag
>
> Someone can explain this difference ?
>
> thks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>
©2008 junlu.com - Jax Systems, LLC, U.S.A.