Hi,
I am facing one problem in error messages display.
my code in
Jsp page is as below:-
<%
System.out.println("the messages begin here");
%>
<html:messages id="error">
<LI><bean:write name="error" /></LI>
</html:messages>
<%
System.out.println("the messages end here");
%>
but I get the below output:-
[5/28/04 21:16:22:578 SGT] 693309c0 SystemOut O the messages begin here
[5/28/04 21:16:22:578 SGT] 693309c0 SystemOut O the messages end here
[5/28/04 21:16:22:578 SGT] 693309c0 SystemOut O Going to print the array size
[5/28/04 21:16:22:578 SGT] 693309c0 SystemOut O The length of lists13,13,13
[5/28/04 21:16:23:016 SGT] 693309c0 WebGroup E SRVE0026E: [
Servlet Error]-[No collection found]: javax.servlet.jsp.JspException: No collection found
at org.apache.struts.taglib.logic.IterateTag.doStartTag(IterateTag.java:281)
In my action the error size is one and the message is also available in application.prop file.For the action I am also setting validate as true.
I used the same syntax for some other JSP and it worked fine.
Any ideas???