File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pass two attributes to a custom tag

 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • 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>
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • 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
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • 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?
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if i found the url i'll send it to you
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic