This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Question about html:messages" Watch "Question about html:messages" New topic

Question about html:messages

Krishna Attravanam

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 ???

I agree. Here's the link:
subject: Question about html:messages
It's not a secret anymore!