Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ch :8 QNo: 6 Pg:420

 
Ganesh.P Ram
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<% 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 ?
 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

i guess it can help you!

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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic