I've only seen that when struts can't find the resource file or the key...

Savan Thongvanh
Berkley Technology Services
515.278.7725


                                                                                       
                                                      
                      "Yansheng Lin"                                                   
                                                      
                      <[EMAIL PROTECTED]        To:       "'Tag Libraries Users List'" 
<[EMAIL PROTECTED]>                      
                      gis.com>                 cc:                                     
                                                      
                                               Subject:  Jstl i18n not working         
                                                      
                      11/10/2003 11:00                                                 
                                                      
                      AM                                                               
                                                      
                      Please respond to                                                
                                                      
                      "Tag Libraries                                                   
                                                      
                      Users List"                                                      
                                                      
                                                                                       
                                                      
                                                                                       
                                                      





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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





CONFIDENTIALITY NOTICE: This e-mail and the transmitted documents contain
private, privileged and confidential information belonging to the sender.
The information therein is solely for the use of the addressee.  If your
receipt of this transmission has occurred as the result of an error, please
immediately notify us so we can arrange for the return of the documents.
In such circumstances, you are advised that you may not disclose, copy,
distribute or take any other action in reliance on the information
transmitted.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to