<bean:message> tag is not working
(<html:link > is also not working either)
--------------------------ENVIRNOMENT
Eclipse Version: 3.3.2 (
J2EE Preview server)
jakarta-struts-1.2.2
jre1.6.0 (1.5? in the build path)
--------------------------struts-config.xml
.....
<message-resources parameter="/com.main.MessageResources.properties" null="false" />
</struts-config>
KEY in the (MessageResources.properties) file:
prompt.customer.firstname=First Namelabel
-------------------------- web.xml
...
<jsp-config>
<taglib>
<taglib-uri>/tags/struts-bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-html</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld </taglib-location>
</taglib>
.......
</jsp-config>
</web-app>
-------------------------- error message:
Apr 19, 2008 5:09:46 PM org.mortbay.jetty.servlet.ServletHandler handle
WARNING: EXCEPTION
org.apache.jasper.JasperException: Exception in
JSP: /customerDetails.jsp:19
16:
17: <form name="custFrom" action= "/Struts1/submitCustomerForm.do" />
19: <bean:message key="prompt.customer.firstname"/>:
<!-- the below normal html tag works fine-->
First name: <input type="text" name="firsttName" calue = "">
<input type="text" name="firstName" value ="" />