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 "Hohlen, John C" <Jo...@erac.com> on 2003/03/27 15:22:45 UTC

Tags Aren't Getting Translated (using WebLogic 6.1)

> Hi.
> 
> My team is using WebLogic 6.1 SP 2 and we're not able to get the custom
> tags in the JSTL "format" library, a.k.a. <fmt>, to work.  More
> specifically, the tags from this library are getting ignored by the JSP
> code generator.  Hence, if you view the rendered HTML, you'll still see
> markup similar to the following:
> 
> <%@ tablib uri="/WEB-INF/fmt.tld" prefix="fmt" %>
> <fmt:formatNumber value="${customer.address.phone.number}"
> pattern="(###)###-####"/>
> 
> Tags from the core library, a.k.a. <c>, library are working just fine.
> I've checked all the obvious configuration stuff, but I'm sure that's the
> first thing everyone will ask.  So here's what I have:
> 
> ----  web.xml -------
>  <!-- JSTL Tag Libary Descriptors (Jakarta reference implementation) -->
>   <taglib>
>     <taglib-uri>/WEB-INF/c.tld</taglib-uri>
>     <taglib-location>/WEB-INF/c.tld</taglib-location>
>   </taglib>
> 
>   <taglib>
>     <taglib-uri>/WEB-INF/fmt.tld</taglib-uri>
>     <taglib-location>/WEB-INF/fmt.tld</taglib-location>
>   </taglib>    
>     
>   <taglib>
>     <taglib-uri>/WEB-INF/x.tld</taglib-uri>
>     <taglib-location>/WEB-INF/x.tld</taglib-location>
>   </taglib>   
> 
> Also, all the required files are in the WEB-INF file.  One weird thing is
> that upon start-up, WebLogic copies the TLD files to it's "temp war"
> folder.  The new files names it gives the corresponding TLD files is:
> 
> cTMP58442.tld
> xTMP58503.tld
> fmt58446.tld
> 
> It's kind of weird that the "format" TLD doesn't have "TMP" in it's name,
> but the others do.  Any ideas on what this problem could be are greatly
> appreciated.
> 
> Thanks,
> 
> JOHN
> 
> 

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