i have a list of size 3
in my controller i say
int noofcards=List1.size(); which returns me the value 3
i want to print this value in my jsp. How do i do it ?
i tried this way
Controller
request.setAttribute("noofcards",noofcards);
jsp
<%= request.getAttribute("noofcards"); %>
Thanks in Advance