• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

<c:out ... Is it a custom tag?

 
Ranch Hand
Posts: 463
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,

The HFSJ has a mock exam question ...

Q. Assuming the appropriate taglib directives, which are valid examples of custom tag usage?
(Choose all that apply.)

A. <foo:bar/>
B. <my:tag></my:tag>
C. <mytag value="x"/>
D. <c:out value="x"/>
E. <jsp:setProperty name="a" property="b" value="c"/>

I answered A and B. However, the correct answer is ABD.

Since the question only asks the valid example of custom tag, I considered <c:out as NOT custom since its part of JSTL.

Am I correct?

>
 
Sheriff
Posts: 67752
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unlike the standard actions, the JSTL must be declared via a taglib declaration on the page, so it can be considered a custom tag library even if it is based upon a standard.
 
Sai Surya
Ranch Hand
Posts: 463
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:Unlike the standard actions, the JSTL must be declared via a taglib declaration on the page, so it can be considered a custom tag library even if it is based upon a standard.



Thanks you
 
Hey! Wanna see my flashlight? It looks like this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic