aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFSJ Mock question On page 487 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFSJ Mock question On page 487" Watch "HFSJ Mock question On page 487" New topic
Author

HFSJ Mock question On page 487

Tiffiny Yang
Ranch Hand

Joined: Mar 29, 2006
Posts: 124
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
Vipul Tulsulkar
Ranch Hand

Joined: Dec 06, 2006
Posts: 41
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
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

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 ?


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HFSJ Mock question On page 487