Class TreatStringTag

  • All Implemented Interfaces:
    javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

    public class TreatStringTag
    extends javax.servlet.jsp.tagext.SimpleTagSupport
    Tag escaping apostrophes, quotes and replacing "\n" with html tag for end of line.
    Author:
    Jakub Kulaviak
    • Constructor Summary

      Constructors 
      Constructor Description
      TreatStringTag()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doTag()  
      • 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

      • TreatStringTag

        public TreatStringTag()
    • Method Detail

      • doTag

        public void doTag()
                   throws javax.servlet.jsp.JspException,
                          java.io.IOException
        Specified by:
        doTag in interface javax.servlet.jsp.tagext.SimpleTag
        Overrides:
        doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
        Throws:
        javax.servlet.jsp.JspException
        java.io.IOException