Im trying to fetch a list of beans from my servlet ,im being able to print this list in the servlet ,.Im using jstl tags to rpint the list in the jsp.However when i try fetching the same list of beans in my jsp , it returns a null.ie. the list is shown as empty .Any idea as to where i could be going wrong?
This is my jsp code fragment.
I dont understand what you mean by action form?
Im using a set of beans ,jsp and a servlet controlling class.
The Link to my jsp is below..
http://pastebin.com/embed_iframe.php?i=4L56dsAe And my relevant servlet code is below.
Thank you for replying.
Joined: Sep 04, 2009
in the doPost() , you have added the domList directly to the request, but while reading in jsp, it has been trying to read from dao.domList, Please try readin the domList directly inside the c:forEach.
Thank you for replying . That worked!
However, a doubt, I use dao.dtList in order to generate a dropdown , i dont set it in the request either ,it works , then why doesnt the same apply here?