org.apache.taglibs.rdc.core
Class StrutsErrorsTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by org.apache.taglibs.rdc.core.StrutsErrorsTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class StrutsErrorsTag
extends javax.servlet.jsp.tagext.SimpleTagSupport

Tag implementation of the <rdc:struts-errors> tag. Play out any errors messages from the preceding struts action. This basic implementation reports all errors at once and disregards any values specified via the message.

Author:
Rahul Akolkar

Constructor Summary
StrutsErrorsTag()
           
 
Method Summary
 void doTag()
          Play out any errors messages from the preceding struts action.
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrutsErrorsTag

public StrutsErrorsTag()
Method Detail

doTag

public void doTag()
           throws java.io.IOException,
                  javax.servlet.jsp.JspException,
                  javax.servlet.jsp.JspTagException
Play out any errors messages from the preceding struts action. This basic implementation reports all errors at once and disregards any values specified via the message.

Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
java.io.IOException
javax.servlet.jsp.JspException
javax.servlet.jsp.JspTagException


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.