Hooray, I found it, thanks to Allen and Niall. <logic:messagesPresent message="true">
<h3><font color="red">Messages:</font></h3> <ul> <html:messages id="msg" message="true"> <li><bean:write name="msg" /></li> </html:messages> </ul> </logic:messagesPresent> Since it was finding messages present when it should, but wasn't finding the messages themselves, it should have dawned on me that if logic:messagesPresent needs to know if you are looking for message="true" so then the html:messages might need message="true" as well. So back to the grindstone, thanks again. Michael Oliver CTO Alarius Systems LLC 3325 N. Nellis Blvd, #1 Las Vegas, NV 89115 Phone:(702)643-7425 Fax:(702)974-0341 *Note new email changed from [EMAIL PROTECTED] -----Original Message----- From: Fogleson, Allen [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 06, 2005 12:25 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Html:messages vs html:errors Michael, Are you capturing exceptions in the jsp? (i.e. do you wrap a giant try catch block or something?) I ask this because it must be finding the message since if a key is not found you should get an exception along the lines of "Cannot find message resource for key xxxx" (I cant remember the exact text) and sorry I cant see your entire text. Can you forward the applicationResources file and the jsp <bean:message call to me? You could turn your logging to debug for org.apache.struts.util and that may help you some also. Al -----Original Message----- From: Michael Oliver [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 06, 2005 2:14 PM To: 'Struts Users Mailing List' Subject: RE: Html:messages vs html:errors Thanks, But ARG!!!! That wasn't it. I changed the <message-resources tag as you suggest, <message-resources null="false" parameter="ApplicationResources"/> however I am still not displaying any messages not even the ???null??? there are also no exceptions in the log. Is there some other package I can add a logger for that might yield a hint as to what's going on? Michael Oliver CTO Alarius Systems LLC 3325 N. Nellis Blvd, #1 Las Vegas, NV 89115 Phone:(702)643-7425 Fax:(702)974-0341 *Note new email changed from [EMAIL PROTECTED] -----Original Message----- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 06, 2005 11:30 AM To: Struts Users Mailing List Subject: Re: Html:messages vs html:errors The problem is with how you've configured your messages resources. Because you've specified a key your message resources are not being stored under the "default" messages resources key. There being stored under the bundle key "ApplicationResources". You just need to remove that (and the id, its unnecessary) and have the following... <message-resources null="false" parameter="ApplicationResources"/> If you do specify a "key" value in the <message-resources> element, then you need to use the same value in the "bundle" attribute of the JSP tags, something like the following should work with what you had set up... <bean:message key="myMessage.key" bundle="ApplicationResources" /> I'm going to post an update to the page I originally put up which includes info on this - I'll post to the list when its ready. Niall ----- Original Message ----- From: "Michael Oliver" <[EMAIL PROTECTED]> Sent: Wednesday, April 06, 2005 5:12 PM > Still not displaying messages, here is what I have so far. > > struts-config.xml entry: > > <snip> > ...<controller/> > <message-resources id="ApplicationResources" key="ApplicationResources" > null="false" parameter="ApplicationResources"/> > <plug-in className="org.apache.struts.tiles.TilesPlugin">... > > The ApplicationResources.properties file is located at > > /WEB-INF/classes/ApplicationResources.properties > > it contains: --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]