Struts Tags vs. JSTL

Simple:

  • Struts Tags are only available to projects that use Struts
  • JSTL tags can be used anywhere and can even co-operate with other frameworks such as Spring or JSF

Struts tags are simply used with in struts framework, but you can not use in others. JSTL is totally different, we can use this in any other rendering page. Mostly some time we want to make custom tags as per out business logic , we can achieve this by JSTL tags: EX :

Simple

<c:set var="delUrl" value="CustInfo.do?type=6&acId=0"></c:set>

Custom

<ab-c:set var="delUrl" value="CustInfo.do?type=6&acId=0"></ab-c:set>

we can perform some logic(URL encryption ) on value as per requirement.

Tags:

Jsp

Jstl

Struts