• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Doubt in the HFSJ 9 chapter

 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic