• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in the HFSJ 9 chapter

 
raja ram
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In the 9th chapter of HFSJ in exercise Question 2 it is said that
<c:forEach> as JSTL Standard Action tag in the 6 th question of the same chapter they have told <c ut > as a custome tag i think it is wrong

As per My understanding
JSTL Standard Action Tags are/ Standard Action Tags are :

All those that start with prefix jsp,c,xml,fmt all these are Standard Action tags any thing that starts other than these prefix like <mine:advise>,<logic:iterate> all these are Custom Action Tags that are written by us is that correct.

Please correct me if i am wrong.

Thanks
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSTL is the Java Standard Tag Library, which is different from JSP's standard actions. Standard actions are specified in the JSP specification (JSTL is not), and these actions are prefixed with "jsp". Anything other than standard actions are customed, because not part of the specification. JSTL is also a set of custom tags.
 
raja ram
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks, That means only those tags that start with the prefix jsp are only standard action tags apart from these all the other prefixed tags are custom tags is that correct
JSTL is also a set of custom tags.


that means <c:...> prefixed tags are also Custom tags that means second question's answer in HFSJ which states <c:forEach> as Standard Action Tag is wrong is that correct?

Thanks
[ May 30, 2008: Message edited by: raja ram ]
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Easy way to remember: If you don't have to declare a taglib directive for it in the JSP to use it, it's a standard tag.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic