I'm integrating the validator into an existing Struts application. The validation works properly (i.e., it checks for proper of length, content, etc., of fields that I specify), however, when it comes to printing the messages to the user, I get a NPE in MessagesTag.doStartTag:253 (pageContext.setAttribute(id, msg)).
In my jsp file I have: <logic:messagesPresent> <bean:message key="errors.header"/> <html:messages id="error"> <li><bean:write name="error"/></li> </html:messages> </logic:messagesPresent> I know that the <logic:messagesPresent> works properly because everthing is fine when the page first displays. It's obvious to me that it's with the 'id="error"', but quite frankly, I'm not sure what it should be or how to fix it. Thanks. ------------------------------------------- Robert D. Morse [EMAIL PROTECTED] PGP Key: D9C4AA6A PGP Finger Print: ED56 DEEA 95CF AC99 C2B0 77D4 7D92 ACCA D9C4 AA6A -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>