RE: multiple resource files in one struts-config file

2003-10-28 Thread Ashish Kulkarni
Hi
what do u mean by keys
should be some thing like this
message-resources key="MESSAGE"
parameter="com.mypackage.maps" />


and should both the property files have
error.header=error 
key and value pair
Ashish
--- Navjot Singh <[EMAIL PROTECTED]> wrote:
> first pls specify diff keys for diff resource files.
> second, pls check if you have specifiied 
> errors.header=
> line in every property file.
> 
> HTH
> Navjot Singh
> 
> >-Original Message-
> >From: Ashish Kulkarni
> [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, October 29, 2003 10:07 AM
> >To: [EMAIL PROTECTED]
> >Subject: multiple resource files in one
> struts-config file
> >
> >
> >Hi,
> >I have a problem with mulitple resource files in
> one
> >struts-config file.
> >My definiation in the xml file is as below
> > >key="org.apache.struts.action.MESSAGE"
> >parameter="com.mypackage.maps" />
> > >key="org.apache.struts.action.MESSAGE"
> >parameter="com.mypackage.approval" />
> >
> >I have some messages in maps.properties file , but
> in
> >my jsp i get error message saying
> >Missing message for key "errors.header"
> >
> >what wrong am i doing?
> >Ashish
> >
> >__
> >Do you Yahoo!?
> >Exclusive Video Premiere - Britney Spears
> >http://launch.yahoo.com/promos/britneyspears/
> >
>
>-
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: multiple resource files in one struts-config file

2003-10-28 Thread Navjot Singh
first pls specify diff keys for diff resource files.
second, pls check if you have specifiied 
errors.header=
line in every property file.

HTH
Navjot Singh

>-Original Message-
>From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 29, 2003 10:07 AM
>To: [EMAIL PROTECTED]
>Subject: multiple resource files in one struts-config file
>
>
>Hi,
>I have a problem with mulitple resource files in one
>struts-config file.
>My definiation in the xml file is as below
>key="org.apache.struts.action.MESSAGE"
>parameter="com.mypackage.maps" />
>key="org.apache.struts.action.MESSAGE"
>parameter="com.mypackage.approval" />
>
>I have some messages in maps.properties file , but in
>my jsp i get error message saying
>Missing message for key "errors.header"
>
>what wrong am i doing?
>Ashish
>
>__
>Do you Yahoo!?
>Exclusive Video Premiere - Britney Spears
>http://launch.yahoo.com/promos/britneyspears/
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]