RE: Problem reading ApplicationResources.properties..

2002-10-08 Thread Galbreath, Mark
You don't seem to have defined your resources file in your struts-config.xml: message-resources parameter=com.myCompany.ApplicationResources / Have you done this? Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 9:23 PM Hello

RE: Problem reading ApplicationResources.properties..

2002-10-08 Thread Sam MacCutchan
- From: Eddie Bush [SMTP:[EMAIL PROTECTED]] Sent: October 7, 2002 11:55 PM To: Struts Users Mailing List Subject:Re: Problem reading ApplicationResources.properties.. Eddie Bush wrote: Are you running Struts version 1.0 or Struts version 1.1 bx? In 1.1, you specify your

RE: Problem reading ApplicationResources.properties..

2002-10-08 Thread Sam MacCutchan
- From: Eddie Bush [SMTP:[EMAIL PROTECTED]] Sent: October 7, 2002 11:55 PM To: Struts Users Mailing List Subject:Re: Problem reading ApplicationResources.properties.. Eddie Bush wrote: Are you running Struts version 1.0 or Struts version 1.1 bx? In 1.1, you specify your

Re: Problem reading ApplicationResources.properties..

2002-10-08 Thread Eddie Bush
The constructor for ActionError expects you to give it the key it will use to lookup the resource. I honestly doubt e.getMessage() is providing you with an accurate key :-) You probably want something like: ... new ActionError(exception.key, e.getMessage()); Sorry, I didn't actually

Problem reading ApplicationResources.properties..

2002-10-07 Thread smaccutchan
Hello all, I am having some trouble with my struts application.. It doesn't seem to be reading the ApplicationResources.properties file and when my Actions generate errors all I get from the output of my html:errors / tag is null null. Here is a portion from my web.xml: servlet

Problem reading ApplicationResources.properties..

2002-10-07 Thread smaccutchan
Hello again continuation from my previous message, hit the wrong button.. my EngJobBO.updateEngJob(engJob): public void updateEngJob(EngJob engJob) throws EngJobException { validate(engJob); Connection con = null; try { con = pool.getConnection(); EngJobDAO engJobDAO =

Re: Problem reading ApplicationResources.properties..

2002-10-07 Thread Eddie Bush
Are you running Struts version 1.0 or Struts version 1.1 bx? In 1.1, you specify your resources as you have noted - in 1.1 you specify them differently. An example would be: message-resources key=org.apache.struts.action.MESSAGE

Re: Problem reading ApplicationResources.properties..

2002-10-07 Thread Eddie Bush
Eddie Bush wrote: Are you running Struts version 1.0 or Struts version 1.1 bx? In 1.1, you specify your resources as you have noted - in 1.1 you specify them differently. An example would be: I'm sorry - that should read: In 1.0, you specify your resources as you have noted ...