OK.
I will give it a try by placing the resource files under web-inf/classes and
it will be something like web-inf/classes/com.abc.def.ghi.MyResources
But I wonder why it worked in the Websphere Test Environment. I neither had
classes nor the lib folders in web-inf. May be it found the corresponding
properties files with the setting I had.
Thank You 4 your time
regards
pathangi r
-----Original Message-----
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:48 AM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE
The Struts User-Guide specifies: "The important thing is for the resource
bundle to be found on the class path for your application. " So, just like
a call to a struts class in a web-app will need to be referenced under the
WEB-INF (which is why we place the struts.jar file in the WEB-INF/lib
directory, you also need to have a root-relative path for any Application
Resources. I place mine in the WEB-INF/classes folder as that is
automatically referenced by my web container. Ant can be told to copy that
file to the classes directory (as it isn't compiled), so that every time you
rebuild your application your
resource file will be copied into the classes dir.
Hope this helps
Melissa
Web Engineer
-----Original Message-----
From: Pathangi, Rao H. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:18 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Error: org.apache.struts.action.MESSAGE
I had the resources file(properties file) in a directory in the servlet
directory along with the classes. Should it be in the web-inf directory as
well? (Iam trying to deploy the app on Websphere 3.5 patch 2. I have earlier
successfully deployed it in the WS Test environment 3.5.3. Iam trying to use
the same settings on WS 3.5 Patch 2)
I guess the classes directory under web-inf is specific to Tom Cat??
Regards
Pathangi RH
-----Original Message-----
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:11 AM
To: [EMAIL PROTECTED]
Subject: RE: Error: org.apache.struts.action.MESSAGE
Is your Message resource file in the WEB-INF/classes directory?
Melissa
-----Original Message-----
From: Jon Brisbin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:52 AM
To: [EMAIL PROTECTED]
Subject: Re: Error: org.apache.struts.action.MESSAGE
I also get this error on the struts example app on Tomcat 4.0b5...I've
removed struts.jar from the system classpath as I say mentioned in one
message, but it still seems to be suffering some classloader issues, though
I'm not familiar with Tomcat 4 yet to know for sure. Everything works fine
with Tomcat 3.x.
Jon Brisbin
----- Original Message -----
From: "Pathangi, Rao H." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 10:52 AM
Subject: Re: Error: org.apache.struts.action.MESSAGE
> Suhas
> I have the <param-name> and <param-value> set to the proper values but it
> still seems to fail, and yes, Iam using the <bean:message> tag. Is it
true
> that Websphere 3.5 patch 2 has some issues with struts?
> Regards
> Pathangi RH
>
>
>
> Suhas Replied:.....................
>
> check if u specified the applicationResourcefile in the web.xml as
> <init-param>
> <param-name> application </param-name>
> <param-value> example.applicationResource </param-value>
> </init-param>
>
> If u using <bean:message> tag in the Jsp then the application REsources
> should have been loaded before Check that Suhas
>
>
> ----- Original Message -----
> From: Pathangi, Rao H. <[EMAIL PROTECTED]> To:
> <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 9:00 PM
> Subject: Error:
> org.apache.struts.action.MESSAGE
> > Hi
> > > What exactly does this error mean??
> > > I have a JSP (using a few Struts tags) with the action beans working
> with a
> > couple of EJB's. I have successfully deployed it in the Websphere Test
> Environment using VA 3.5.3 I am trying to deploy the same application on
WAS
> 3.5 Patch 2 and I get the > following/well known error when I try to hit
my
> JSP. > > If Iam correct, this has to do with the web.xml,
struts-config.xml
> files and > the addition of the servlets to the servlet container. > >
Error
> 500 > An error has occured while processing >
> request:<http://aaa.yyy.com/phase3order.jsp> > Message: Server caught
> unhandled exception from servlet [JSP 1.1 Processor]: > Cannot find
message
> resources under key org.apache.struts.action.MESSAGE > > Could some one
> throw some light on this puhlease.... > > > Regards > Hemant Pathangi >
>