The problem here is the tag in your jsp:
bean:message bundle=ANALYSTPROFILE_LABEL/ad
key=analystprofile.edit.screen.title/
It should be:
bean:message bundle=ANALYSTPROFILE_LABEL
key=analystprofile.edit.screen.title/
Why without '/ad' ? you may ask. Probably the example you copied from is
a Struts module named 'ad'; in such cases, when the message-resources tag
is in a Struts module config, then /name-of-the-module is appended to the
name of the messages resource. In your case, you are not in a module, so
nothing gets appended to the name of the bundle.
Hope it works. Good luck.
Hi, I am new to struts and currently encountered these errors:
Error 500--Internal Server Error
javax.servlet.jsp.JspException: Missing message for key
analystprofile.edit.screen.title
In struts-config.xml
message-resources key=ANALYSTPROFILE_LABEL
parameter=resources.i18n.ad.analystprofile_labels/
in analystprofile_labels_en_GB.properties
analystprofile.edit.screen.title=Edit Analyst Profile
in the jsp
titlebean:message bundle=ANALYSTPROFILE_LABEL/ad
key=analystprofile.edit.screen.title//title
I followed the example from other source, which is working in other
machine. Any advice..?
Thanks
rgds,
Yen
LeadingSide (M) Sdn Bhd
#29-11 The Boulevard
Mid Valley City
Lingkaran Syed Putra
59200 Kuala Lumpur, Malaysia
Tel: +603 2287 9631/2
Fax: +603 2287 9630
Email: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]