...try moving your HelloWorldResource.properties file up a level into the
/WEB_INF/classes directory. 
The problem seems to be that struts can't find a message tag and these are
located in the HelloWorldResource.properties file which struts expects to
find in the WEB_INF/classes directory....

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 16 May 2001 6:13
To: [EMAIL PROTECTED]
Subject: org.apache.struts.action.MESSAGE error with VAJ 3.5.3


I am trying to run the Hello World example from the Bluestone developer
website, but I am getting the following message:

Error 500
An error has occured while processing
request:http://localhost:8080/HelloWorld/hello.jsp

Message: Server caught unhandled exception from servlet [jsp]:  Cannot find
message resources under key org.apache.struts.action.MESSAGE

1.  I have imported the Struts classes into my VAJ workspace.
2.  I have created a folder called HelloWorld in the following directory
      ..\IBM WebSphere Test Environment\hosts\default_host\default_app\web
     HelloWorld contains a WEB-INF directory and my jsp (hello.jsp)
3.  In the WEB-INF folder, I have a classes folder, a lib folder, a
struts-bean.tld and a web.xml file.
4.  In the lib folder, there exists my struts.jar
5.  In the classes folder, there is a helloworld folder.
6.  In the helloworld folder, there exists a file called
HelloWorldResources.properties

I editted the classpath in the servlet engine to include all projects.
I also have entered an extra class path pointing to my Struts.jar file
(which only includes the dtd files and property files since the the java
files are already in my workbench.  I have already tried running it with
the full Struts.jar, but that gave me the same error message.)

So in summary, here is what my folder structure looks like:

default_app
-->  web
-->  -->  HelloWorld
-->  -->  -->  hello.jsp
-->  -->  -->  WEB-INF
-->  -->  -->  -->  classes
-->  -->  -->  -->  -->  helloworld
-->  -->  -->  -->  -->  -->  HelloWorldResource.properties
-->  -->  -->  -->  lib
-->  -->  -->  -->  -->  struts.jar
-->  -->  -->  -->  struts-bean.tld
-->  -->  -->  -->  web.xml

Can anyone please help me?
Thanks.

This message is for the designated recipient only and may contain
privileged or confidential information.  If you have received it in error,
please notify the sender immediately and delete the original.  Any other
use of the email by you is prohibited.

Reply via email to