Thanks Corey, This resolved the issue.

- Paul


-----Original Message-----
From: Sanders, Corey [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 12, 2007 1:42 PM
To: users@appfuse.dev.java.net
Subject: RE: [appfuse-user] Message resource key strings not found

The c:fmt tag assumes you setup a localization bundle. Does your web.xml
also have this section?

<context-param>
 
<param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
  <param-value>ApplicationResources</param-value>
</context-param>

Matt has some info on this on his site.

http://raibledesigns.com/rd/entry/changing_struts_lt_bean_message


-- Corey


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 12, 2007 1:39 PM
To: users@appfuse.dev.java.net
Subject: [appfuse-user] Message resource key strings not found

All:

 I am developing an application which has the xml snippet below included
in me web.xml file.

    <error-page>
         <error-code>404</error-code>
         <location>/404.jsp</location>
     </error-page>

However, when I enter a bad URL I am forwarded to my 404.jsp file but
the  jstl tag <c:fmt> doesn't  work. I get the errors below shown on my
404.jsp page.

???404.title???                 
???404.message???       

For some reason  the app isn't finding "404.title" and "404.message"
in the messages.properties file although they are clearly defined.

I deployed the app to both jetty and tomcat with the same results.

--
- Paul

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

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

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

Reply via email to