<spring:message message="${error}"/> works.... Thanks ! Just wish I knew about it. Could have saved us some grief.
Type: Posts; User: Steve Libonati; Keyword(s):
<spring:message message="${error}"/> works.... Thanks ! Just wish I knew about it. Could have saved us some grief.
Not included in http://static.springframework.org/spring/docs/1.2.x/taglib/index.html. Maybe just didnt make it to the docs until 2.0 ?
I had a similar issue. I used classpath:. I believe that resolved it. And I do believe the id needs to be "messageSource" as already stated.
<bean id="messageSource"...
I had to employ a hack in order to display error messages correctly.
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn"...