This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes JSP and the fly likes Jstl tag equivalent to html:error tag in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Jstl tag equivalent to html:error tag in struts" Watch "Jstl tag equivalent to html:error tag in struts" New topic
Author

Jstl tag equivalent to html:error tag in struts

A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
Hi,
Is there any jstl tag equivalent to <html:error> in struts..to display the error messages..


Regards
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

Since that tag expects Struts-specific classes to be present, then no, not directly. How could there be?

Though it would be easy to use the JSTL to display error messages placed as scoped variables just like you would use it to display any other type of data.
[ June 11, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
we made use of struts tags for the display of the error messages and for the rest of the application we made use of JSTL tags....


but can we make use of JStl tags for the same..

Is it in the core tags...

Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jstl tag equivalent to html:error tag in struts