JSTL doesn't know or care about your Struts setup.

Quoting Yansheng Lin <[EMAIL PROTECTED]>:

> Ah, I wonder...
> 
> In my struts.xml file, I define the resource file too:
>       
>   <!-- ========== Message Resources Definitions ===========================
> -->
>   <message-resources parameter="org.j2e_translate.ApplicationResources">
>   </message-resources>
> 
> Will that cause any conflict?  I have no clue right now.  I tried all kinds
> of
> combination...
> With path, absolute path, without path, still no vail..
> 
> Thanks!
>       
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: November 10, 2003 10:07 AM
> To: Tag Libraries Users List
> Cc: 'Tag Libraries Users List'
> Subject: Re: Jstl i18n not working
> 
> 
> 
> 
> 
> 
> 
> 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:00AM
> 
> 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

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to