Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Doubt in the HFSJ 9 chapter

 
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
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • 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 ]
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • 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.
 
Blueberry pie is best when it is firm and you can hold in your hand. Smell it. And smell this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic