On 11/22/05, Nick Sophinos <[EMAIL PROTECTED]> wrote:
> Place this in your web.xml file:
>
> <context-param>
> <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
> <param-value>com.omnytext.blah.blah.properties.ApplicationResources
> </param-value>
> </context-param>
>
> Where ApplicationResources.properties is the name of the message bundle in
> question.
>
<snip/>

<exclamation-mark/>

This is definitely not how JSTL recommends loading bundles (see
fmt:bundle and fmt:setBundle). Ofcourse, its your decision.

-Rahul



> - Nick
>
> On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> >
> > Hello... I'm trying to display messages from a bundle using JSTL like so:
> >
> > <fmt:message key="messages.appTitle" />
> >
> > This isn't working, I'm getting:
> >
> > ???messages.appTitle???
> >
> > However, doing:
> >
> > <bean:message key="messages.appTitle"/>
> >
> > Working fine. So I know the key is correct, and the bundle is being read,
> > etc. I admit I haven't done much with JSTL, but this seems pretty simple.
> > Do I need to do any other kind of setup to tell the JSTL tags about the
> > bundle? Thanks!
> >
> > --
> > Frank W. Zammetti
> > Founder and Chief Software Architect
> > Omnytex Technologies
> > http://www.omnytex.com
> > AIM: fzammetti
> > Yahoo: fzammetti
> > MSN: [EMAIL PROTECTED]
> >

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

Reply via email to