com.acsinet_solutions.cetia4.tags.support
Class LogSimpleTagSupport

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by com.acsinet_solutions.cetia4.tags.support.LogSimpleTagSupport
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag, javax.servlet.jsp.tagext.TryCatchFinally

public abstract class LogSimpleTagSupport
extends javax.servlet.jsp.tagext.SimpleTagSupport
implements javax.servlet.jsp.tagext.TryCatchFinally

Tag support for simple tags in JSP 2.0. No servlet-related methods are provided as simple tags are generic, and not servlet specific. This class includes exception handling and log handling.

Author:
Santiago Arriaga

Constructor Summary
LogSimpleTagSupport()
           
 
Method Summary
 void doCatch(java.lang.Throwable throwable)
          Prints error so it's easier to find.
 void doFinally()
           
protected  org.apache.commons.logging.Log getLogger()
          Return the internal logger
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
doTag, 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

LogSimpleTagSupport

public LogSimpleTagSupport()
Method Detail

doCatch

public void doCatch(java.lang.Throwable throwable)
             throws java.lang.Throwable
Prints error so it's easier to find.

Specified by:
doCatch in interface javax.servlet.jsp.tagext.TryCatchFinally
Throws:
java.lang.Throwable

doFinally

public void doFinally()
Specified by:
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinally

getLogger

protected final org.apache.commons.logging.Log getLogger()
Return the internal logger