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
-
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
-
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
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
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
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 =
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
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 ...
8 matches
Mail list logo