• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

pass two attributes to a custom tag

 
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which of the following options correctly pass two attributes to a custom tag?

Select 3 correct options
a <prefix:sometag 'val1' 'val2' />


b <prefix:sometag ${'val1'} ${'val2'} />


c <prefix:sometag attrA='val1' attrB='val2' />


d <prefix:sometag attrA='${"val1"}' attrB='${"val2"}' />


e <prefix:sometag>
<jsp:attribute name='attrA' value='val1' />
<jsp:attribute name='attrB' value='val2' />
</prefix:sometag>


f <prefix:sometag>
<jsp:attribute name='attrA'>val1</jsp:attribute>
<jsp:attribute name='attrB'>val2</jsp:attribute>
</prefix:sometag>
 
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
Sherif, please state the source of where you got this question from. Otherwise you may find this thread removed.

Also, please give your logic for why you think certain parts are correct or why you disagree with the answers that the test source provided. You will learn more that way and it will increase the likelihood of someone responding specifically to your doubt.
 
S Shehab
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
i found it in a site without any answers , in my view the answers may be b,e,f (ps: i'm weak in EL)
 
Marc Peabody
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

Originally posted by Sherif Shehab:
hi
i found it in a site without any answers , in my view the answers may be b,e,f (ps: i'm weak in EL)


Which site?
 
S Shehab
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if i found the url i'll send it to you
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic