Hi Richard,
simply put, struts is not initializing the message resources until you
call an action mapping. Since you go straight to hello.jsp direct,
struts bean taglib doesn't have the resource bundle available.
See the output log below that comes at the point when I call 'hello.do',
an action
On 11/12/2003 02:50 AM Richard Morris wrote:
Adam,
The struts.jar is located in the /WEB-INF/lib folder. I know the struts.jar
file is working because I can use the html tags (i.e. ,
, etc.) without error.
I just don't know what the problem could be. I am sure it is something
stupid but with suc
would be noticeable.
Anyway, thanks for the help.
Richard Morris
[EMAIL PROTECTED]
- Original Message -
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 11, 2003 4:28 AM
Subject: Re: Hello
et it as an escape char.
-Richard
-Original Message-
From: Richard Morris [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 4:03 PM
To: Struts Users Mailing List
Subject: Re: Hello World gone wrong
Hi Adam,
The HelloWorldMessageResources.properties file is where you have stated. I
2003 4:03 PM
To: Struts Users Mailing List
Subject: Re: Hello World gone wrong
Hi Adam,
The HelloWorldMessageResources.properties file is where you have stated. I
also tried your comment style in the properties file as well as removing all
comments and it didn't change anything. I have also
t;
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, November 10, 2003 2:01 PM
Subject: Re: Hello World gone wrong
> Hi Richard, you don't need to package it. I have never packaged a
> resources file or put it in a jar seperately. According to your config,
&
Hi Richard, you don't need to package it. I have never packaged a
resources file or put it in a jar seperately. According to your config,
it's in the right place, something like
e:\projects\helloworld\WEB-INF\classes\HelloWorldMessageResources.properties
right? The error must lie elsewhere.
I
le.
I am using the default tomcat configuration with the following server.xml
addition:
Richard Morris
[EMAIL PROTECTED]
- Original Message -
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, Nov
On 11/10/2003 04:48 AM Richard Morris wrote:
org.apache.jasper.JasperException:
Cannot find message resources under key org.apache.struts.action.MESSAGE
Here is the struts-config.xml file:
-
Here is the web.xml file:
he
9 matches
Mail list logo