aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes One more EL? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "One more EL?" Watch "One more EL?" New topic
Author

One more EL?

amarshi mohanty
Ranch Hand

Joined: Jul 01, 2008
Posts: 110
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


SCJP (97%), SCWCD (95%))
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1696
    
  25

Hi Amarshi,

Also here: please QuoteYourSources

Regards,
Frits
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: One more EL?