File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Question about html:messages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Question about html:messages" Watch "Question about html:messages" New topic
Author

Question about html:messages

Krishna Attravanam
Greenhorn

Joined: Oct 21, 2004
Posts: 16
Hi i have a situation where I need to design an error page (intelligent one)

So the requirement says

If I populate the ActionMessages class with the error message and use SaveMessages() in one of the action, the error page should be smart enough to identify that there is an ActionMessage (by using html:messages id=msg message=true or something like that) and print the error in the JSP error page.

If there is no error message (populated in the ActionMessages) then display a generic error message.

How to do this ???

Thanks
Krishna
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about html:messages