You might want to try spelling out the path of the tld file. I find it is easy to have <%@ taglib prefix="fmt" uri="/WEB-INF/fmt.tld" %> on JSP file instead of in the configuration file.
Also for locale setting, you might want to try using the Config.set method. That is documented in Hans's JSP book as well as his online articles, part 2 I believe, on the onjava.com. Hope these helpes. Vernon 11/6/2002 12:39:10 AM, "Alberto Tomas" <[EMAIL PROTECTED]> wrote: >Hy all, >I posted this question 3 weeks ago and nobody has answered it. I post again >it stilling to find a solution to my problem. Thanks. >I'm using the i18n tags of JSTL(1.0.2) 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: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org> >For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org> > > -- To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>
