You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mahin Jeyachandran <ma...@hotmail.com> on 2003/10/29 04:57:24 UTC

a query regarding

good day all,

I'm new to struts frame work...

I'm using a property file names "languages.properties" instead of
"ApplicationResources.properties"
Also I have an entry in my "struts-config.xml" like the following...

<message-resources property="language" />

I also placed the property file in "WEB-INF/classes/"
but it seems that the property file "languages.properties" is not detected.

shld I make any changes or any entry in the "web.xml" to make my new
property file visible ????

I'm using web-logic6.1.

pls help..

Regards,
Mahin



Re: a query regarding

Posted by Frers Michael <fr...@Sisis.de>.
Hello
on my first look:
shouldnt u use 
<message-resources property="languages" />

i think there is a missing "s"


----- Original Message ----- 
From: "Mahin Jeyachandran" <ma...@hotmail.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, October 29, 2003 4:57 AM
Subject: a query regarding <message-resources>


good day all,

I'm new to struts frame work...

I'm using a property file names "languages.properties" instead of
"ApplicationResources.properties"
Also I have an entry in my "struts-config.xml" like the following...

<message-resources property="language" />

I also placed the property file in "WEB-INF/classes/"
but it seems that the property file "languages.properties" is not detected.

shld I make any changes or any entry in the "web.xml" to make my new
property file visible ????

I'm using web-logic6.1.

pls help..

Regards,
Mahin




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: a query regarding

Posted by Mahin Jeyachandran <ma...@hotmail.com>.
ya ...it was that error..I foolishly made that..

it works fine when I used < message-resources parameter="languages" />

thanx caroline

----- Original Message -----
From: "Caroline Lauferon" <ca...@cgey.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, October 29, 2003 2:33 PM
Subject: Re: a query regarding <message-resources>


> >Also I have an entry in my "struts-config.xml" like the following...
> ><message-resources property="language" />
> >I also placed the property file in "WEB-INF/classes/"
> >but it seems that the property file "languages.properties" is not
detected.
>
> I personnaly would have used :  <message-resources parameter="languages"
/>
> I didn't find any attribute named "property" for message-resources tag in
> Struts .1.1.  dtd
>
> Hope it helps
> Caroline
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: a query regarding

Posted by Caroline Lauferon <ca...@cgey.com>.
>Also I have an entry in my "struts-config.xml" like the following...
><message-resources property="language" />
>I also placed the property file in "WEB-INF/classes/"
>but it seems that the property file "languages.properties" is not detected.

I personnaly would have used :  <message-resources parameter="languages" />
I didn't find any attribute named "property" for message-resources tag in
Struts .1.1.  dtd

Hope it helps
Caroline


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org