File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Ch :8 QNo: 6 Pg:420 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Ch :8 QNo: 6 Pg:420" Watch "Ch :8 QNo: 6 Pg:420" New topic
Author

Ch :8 QNo: 6 Pg:420

Ganesh.P Ram
Ranch Hand

Joined: Dec 22, 2005
Posts: 41
<% java.util.List list = new java.util.ArrayList();
list.add("a");
list.add("2");
list.add("c");

request.setAttribute("list",list);
request.setAttribute("c","1");

Which wud evaluate to c ?

I have a doubt with Option E

${list['listIdx' + 1]}

how is this evaluated ?


Ganesh
Steven Colley
Ranch Hand

Joined: Feb 18, 2005
Posts: 290
HI,

i guess it can help you!

http://www.coderanch.com/t/171570/java-Web-Component-SCWCD/certification/EL-Coercion



SCJP | SCWCD | SCBCD | SCWSD 5 | SCEA (I) 1.4 | SCEA 5 | IBM SOA 669
 
 
subject: Ch :8 QNo: 6 Pg:420
 
Similar Threads
EL Coercion question
Please tell me the correct answer
Trouble understanding evaluation of EL string literal
Question on EL
Doubt in HFSJ page-420