Priety.
Priety.
Priety.
Priety Sharma wrote:and appending an integer value to the end of the name of the bean.
In my jsp I want to iterate over the beans and get the data which is bookname, author and number of copies.
Or should I put the beans in an arraylist in the servlet itself
Priety.
Priety.
chima alaebo wrote:,u acess the elements with ${arraylist[element]}
Priety.
Priety.
Priety Sharma wrote:So when one declares :
The var will refer to the members of the arraylist. I hope I am right.
and after that:
This is how the bean properties are getting accessed.
So is EL doing the casting from object to the java bean class(BookSelectedforDel) automatically?
I am asking this because whatever I have written and working is almost like trial and error.
Where can I read about both c:forEach and EL to be clear about them?
Priety.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |