I am just playing around with struts-blnak.war that
comes with all dist.
The structure is like:
C:.
|---META-INF
|---pages
|---WEB-INF
|---classes
| |--resources
|---lib
|---src
|---java
|---resources
where application.properties file is in the resources
folder. Thus when you set
<message-resources parameter="resources.application"/>
the application recognizes the setting but not
<message-resources parameter="MessageResources"/>
--- Michael McGrady <[EMAIL PROTECTED]> wrote:
> Lai Boon Hui wrote:
>
> >In struts 1.1, struts-confgi.xml we declare
> properties
> >file setting using:
> ><message-resources
> parameter="resources.application"/>
> >
> >but in struts 1.2, it has become:
> ><message-resources parameter="MessageResources"/>
> as
> >seen in struts-blank.war. I tried to extract and
> >recompile and redeploy this war file and it didn't
> >work like the properties file is not recognized. It
> >only worked when i revert to struts 1.1 kind of
> >setting.
> >
> >Is there a reason why struts 1.2 does things this
> way?
> >How can i make it work?
> >
> >
>
> Why don't you give us the name of your file, where
> it is located, and
> the actual code you have in the config file? Then,
> you can get an
> immediate answer, because that is all that is
> relevant, I think.
>
> Michael McGrady
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]