List « EL « JSP-Servlet Q&A





1. What is the syntax for EL that accesses List with object?    stackoverflow.com

I'm having tough time figure out how to display object's properties in ArrayList using EL expression. Many tutorial outside shows simple example like:

List<String> test = new ArrayList<String>();
request.setAttribute("test", test);
test.add("moo");
And it works fine.
<p>${test[0]}</p>
When the ...

2. How can I access a List using the value of another List with EL?    stackoverflow.com

I have two Lists. The first list ( numberList) contains two integer elements: [1] and [5] The second list (stringList) contains ten String. I'd like to use EL to display the first ...