In chapter no.8(Head First Servlet & Jsp- "Scriptless JSPs"), there is a topic USING THE [] OPERATOR WITH AN ARRAY.
In the Example,,,
so my Question is why we use Quotes around the array index?
Can we use ${musicList[1]}??(the Quotes are removed)
Is {musicList["1"]} & ${musicList[1]} same?
In the Example,,,
so my Question is why we use Quotes around the array index?
Can we use ${musicList[1]}??(the Quotes are removed)
Is {musicList["1"]} & ${musicList[1]} same?