List « EL « JSP-Servlet Q&A

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

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);
And it works fine.
When the ...

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

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 ...