Jakarta PAGE Taglib Example


<%@ taglib uri="http://jakarta.apache.org/taglibs/page-1.0" prefix="page" %>

Set an attribute named "myatt"
AAbb
See if myatt attribute exists

   myatt=


   Attribute myatt does not exist.

See if myatt equals "aabb"

  myatt=


  Attribute myatt does not equal "aabb".

See if myatt equals "aabb", ignoring case

  myatt=


  Attribute myatt does not equal "aabb", ignoring case.

Now loop through all the attributes

    = 

Now remove the attribute myatt

See if myatt attribute exists

   myatt=


   Attribute myatt does not exist.