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 message-resources key=org.apache.struts.action.MESSAGE parameter=com.mypackage.maps / message-resources 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]
RE: multiple resource files in one struts-config file
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 message-resources key=org.apache.struts.action.MESSAGE parameter=com.mypackage.maps / message-resources 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]
RE: multiple resource files in one struts-config file
Hi what do u mean by keys should be some thing like this message-resources key=MESSAGE parameter=com.mypackage.maps / message-resources key=MESSAGE1 parameter=com.mypackage.approval / 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 message-resources key=org.apache.struts.action.MESSAGE parameter=com.mypackage.maps / message-resources 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]