• 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

HFSJ Mock question On page 487

 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On page 487 of HFSJ book , there is question:
Assuming the appropriate taglib directive, which are valid examples of custom tag usage?

The one of the correct answers is <c ut value="x" />.

I don't why. Isn't that <c ut... is standard JSTL?

Any body knows?

Thanks
Tiffiny
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
This might help you

To use the core library, use the following directive:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

You must also put the corresponding .tld file for each tag library in your /WEB-INF directory and use the
taglib element in your web.xml file to include the tag library:
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>;
<taglib-location>/WEB-INF/tld/core.tld</taglib-location>
</taglib>

Regards,
Vipul
 
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

is standard JSTL?


Yes, but isn't JSTL tags custom tags ? After all, they have a class, extending the appropriate tag class. They have a tag library descriptor. So ?
 
reply
    Bookmark Topic Watch Topic
  • New Topic