I am displaying messages in JSP using resource bundle. I have 2 separate bundles. Depending on the message I would like it to be picked up from the particular bundle to which that message belongs to. How do I specify the multiple bundles?
this doesnt seem to work: <html:messages bundle="viewmessages" id="message" message='true'> <BR> <bean:write name="message"/> </html:messages> <html:messages bundle="errormessages" id="message" message='true'> <BR> <bean:write name="message"/> </html:messages> I have defined both these bundles in struts-config.xml <message-resources key="viewmessages" parameter="resources.application" /> <message-resources key="errormessages" parameter="resources.myapperrormessages"/> Regards, Anuradha S.Athreya