• The ifelse of JSP custom tag and the example of traversing custom tag


    The first example:Simple JSP custom tag to get content:First create a JSP instance class, and then inherit the simpletagsupport classThen implement the dotag () method of the parent classIn this method, we get the content of the tag body this.getJspBody ();Return the jspfragment class, and call invoke according to this class object( this.getJspContext ().getOut());This method […]