Struts Logic Tag Library

To use the tags in logic tag library, you need to do the following:
  • Copy struts-logic.tld in WEB-INF folder
  • Use the following <taglib> in any jsp where you want to use tags of Logic Tag Library.
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>


List of tags in Logic Tag Library:

  1. <logic: empty>
  2. <logic: notEmpty>
  3. <logic: present >
  4. <logic: notPresent >
  5. <logic: equal>
  6. <logic: notEqual>
  7. <logic:  greaterThan>
  8. <logic: greaterEqual>
  9. <logic: lessThan>
  10. <logic: lessEqual>
  11. <logic: match>
  12. <logic: notMatch>
  13. <logic: messagePresent>
  14. <logic: messageNotPresent>
  15. <logic: iterate>
  16. <logic: redirect>
  17. <logic: forward>

0 comments :

Post a Comment