File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

One more EL?

 
amarshi mohanty
Ranch Hand
Posts: 110
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question :
Given the URL for some Web Application as
'http://someServer.com/testServlet.jsp?color=RED&color=BLUE&color=GREEN'
Which of the following EL will evaluate to RED and GREEN?
a. ${paramValues.color[0]} and ${paramValues.color[2]}
b. ${param.values.color[0]} and ${param.values.color[2]}
c. ${param.color[0]} and ${param.color[2]}
d. None of the above.

Ans is:b
Is it correct??

Thanks,
Amarshi
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2171
57
Android Chrome Eclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Amarshi,

Also here: please QuoteYourSources

Regards,
Frits
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic