Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

usage of ActionMessages  RSS feed

ashwin deshpande
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Im trying to use ActionMessages in my jsp...

here is the code snippet...


ActionMessages messages = new ActionMessages();
messages.add("noRecordsFound", new ActionMessags("records.notFound"));
saveMessages(req, messages);

return mapping.getInputForward();


actually here i tried using
<logic:messagesPresent> tag, <logic:match> tag and <html:messages> tag, but i just cant seem to get it right... i would really appreciate if you could post the correspond jsp code for the above messages...


It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!