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 "Shaik D.Idrees" <si...@stc.com.sa> on 2003/11/10 14:17:44 UTC

Referencing taglib from different context

All,
 
I have created two context in my tomcat standalone, namely 
 
taglibs - where I have stored most of the tag libraries.
Myapp - where I have stored my application.
 
I have successfully tested tag libraries with in taglibs context using a
test jsp file. It is working fine.
 
I would like to use tag libraries of taglibs context with in Myapp context.
 
What are the right steps I should do?
 
Should I need to place any entry in Myapp's WEB-INF/web.xml , to call the
tag libraries of taglibs context.?
 
Can anybody clarify my doubt? 
 
Thanks a lot in advance.
 
Shaik
 
 


Disclaimer: The information in this email and in any files transmitted with it,
 is intended only for the addressee and may contain confidential and/or privileged material.
 Access to this email by anyone else is unauthorized. If you receive this in error,
 please contact the sender immediately and delete the material from any computer.
 If you are not the intended recipient, any disclosure, copying, distribution or
 any action taken or omitted to be taken in reliance on it, is strictly prohibited. 
Statement and opinions expressed in this e-mail are those of the sender, and do not 
necessarily reflect those of STC.

Jstl i18n not working

Posted by Yansheng Lin <ya...@isogis.com>.
Hi, in my web.xml:

  <!-- ==================== JSTL i18n support =========================== -->
  <context-param>
    <param-name>javax.servlet.jsp.jstl.fmt.fall-backLocale</param-name>
    <param-value>en</param-value>
  </context-param>  
  <context-param>
    <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
     <param-value>ApplicationResources.properties</param-value>
  </context-param>

Then in my jsp:

    <fmt:bundle basename="ApplicationResources">
      <fmt:message key="j2emain.title" />
    </fmt:bundle>
	
But I am getting the following output:
	???j2emain.title???

Help appreciated!

-Yan


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