| Author |
pass two attributes to a custom tag
|
Sherif Shehab
Ranch Hand
Joined: Mar 05, 2007
Posts: 472
|
|
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>
|
Thanks,
Sherif
|
 |
Marc Peabody
pie sneak
Sheriff
Joined: Feb 05, 2003
Posts: 4725
|
|
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.
|
A good workman is known by his tools.
|
 |
Sherif Shehab
Ranch Hand
Joined: Mar 05, 2007
Posts: 472
|
|
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
Sheriff
Joined: Feb 05, 2003
Posts: 4725
|
|
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?
|
 |
Sherif Shehab
Ranch Hand
Joined: Mar 05, 2007
Posts: 472
|
|
|
if i found the url i'll send it to you
|
 |
 |
|
|
subject: pass two attributes to a custom tag
|
|
|