Re: Struts error handling

2006-03-17 Thread Niall Pemberton
Do you have html-el:errors message=true/ on your jsp? If so remove the message=true and it should work. Niall On 3/17/06, Slattery, Tim - BLS [EMAIL PROTECTED] wrote: I'm trying to convert a Struts app from version 1.1 to the latest production version, 1.2.8. The sticking point is reporting

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
Do you have html-el:errors message=true/ on your jsp? If so remove the message=true and it should work. Nope, just html-el:errors/. -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Struts error handling

2006-03-17 Thread Niall Pemberton
Thats very strange because the error your getting is when it looks for errors under the message key - which happens when message=true is set - otherwise it should look under the error key. What happens if you set html-el:errors message=false/? Also are you sure there are no other html:errors/ or

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
Thats very strange because the error your getting is when it looks for errors under the message key - which happens when message=true is set - otherwise it should look under the error key. What happens if you set html-el:errors message=false/? Also are you sure there are no other

Re: Struts error handling

2006-03-17 Thread Niall Pemberton
On 3/17/06, Slattery, Tim - BLS [EMAIL PROTECTED] wrote: Thats very strange because the error your getting is when it looks for errors under the message key - which happens when message=true is set - otherwise it should look under the error key. What happens if you set html-el:errors

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
The errors tag doesn't have a message attribute. I tried this: Sorry yes, getting mixed up with html:messages. So are you using name=org.apache.struts.action.MESSAGE on your html:errors tag then? That would cause the same. No name attribute on the errors tag or the messages tag.

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
So are you using name=org.apache.struts.action.MESSAGE on your html:errors tag then? That would cause the same. Just tried it with the messages loop using name=org.apache.struts.action.ERROR SAME MESSAGE -- Tim Slattery [EMAIL PROTECTED]

Re: Struts error handling

2006-03-17 Thread Niall Pemberton
On 3/17/06, Slattery, Tim - BLS [EMAIL PROTECTED] wrote: The errors tag doesn't have a message attribute. I tried this: Sorry yes, getting mixed up with html:messages. So are you using name=org.apache.struts.action.MESSAGE on your html:errors tag then? That would cause the same. No

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
Do you have message resources configured in your struts-config.xml? message-resource parameter=MyApplicationResources / Never used that tag before. I put it in, no difference. -- Tim Slattery [EMAIL PROTECTED] - To

Re: Struts error handling

2006-03-17 Thread Niall Pemberton
On 3/17/06, Slattery, Tim - BLS [EMAIL PROTECTED] wrote: Do you have message resources configured in your struts-config.xml? message-resource parameter=MyApplicationResources / Never used that tag before. I put it in, no difference. Well you need to use it - looks like thats where your

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
-Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Friday, March 17, 2006 11:34 AM To: Struts Users Mailing List Subject: Re: Struts error handling On 3/17/06, Slattery, Tim - BLS [EMAIL PROTECTED] wrote: Do you have message resources configured

Re: Struts error handling

2006-03-17 Thread Niall Pemberton
] Sent: Friday, March 17, 2006 11:34 AM To: Struts Users Mailing List Subject: Re: Struts error handling On 3/17/06, Slattery, Tim - BLS [EMAIL PROTECTED] wrote: Do you have message resources configured in your struts-config.xml? message-resource parameter=MyApplicationResources

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
Change the DTD declaration at the top of your struts-config.xml to the 1.2 version. Sorry got to run. Did that. Got the same error message. Nothing makes the slightest difference. -- Tim Slattery [EMAIL PROTECTED] - To

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
Change the DTD declaration at the top of your struts-config.xml to the 1.2 version. Sorry got to run. Argghh!! I didn't see the parsing error message that landed on the app log, not the server console. I had put in: message_resources parameter=freqs null=false/ Putting an underscore between