Java Mailing List Archive

http://www.junlu.com/

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

RE: fmt setLocale

Edson Alves Pereira

2003-12-09

Replies:

 Then, maybe there is some sintaxe error in your TLD. What do you
have inside /WEB-INF/tld/fmt.tld?

> ----------
> De:  Maxime Colas des Francs[SMTP:maxime@(protected)]
> Responder:  Tomcat Users List
> Enviada:  terça-feira, 9 de dezembro de 2003 15:38
> Para:  Tomcat Users List
> Assunto:  RE: fmt setLocale
>
> What do you get from Sun ? jar files ?
>
> Standard Taglib 1.0.4 jars are in my WEB-INF/lib
> Tomcat seems to have a pb when it get tld from file specified in web.xml ?
>
> At 12:14 2003-12-09, you wrote:
> >      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)
> > >
>
>
> ---------------------------------------------------------------------
> 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.