Another .tag File Example
-  Recall this JSP for counting page requests: 
     
     PageCounter.jsp
 -  Using a .tag file, we can rewrite the JSP as:
     
     PageCounter2.jsp
     
     -  The only code remaining is a reference to the pageCount
     variable
     
 -  The variable is manipulated through use of the count tag
     
 
 -  The custom count tag is defined by the following .tag
     file: 
     count.tag
     
     -  Note the use of the variable directive that tells the
          container about the name, type, and scope of the variable
     
 
 -  
     http://redrock.d.umn.edu:8082/jspbook/PageCounter2.jsp