• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

arraylist nullified in logic:notempty

 
Acharya Thiyagarajan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

when i return the arraylist from the action to the jsp the values is completely populated. But on the jsp it is null. To confirm i kept break points in the setter and getter methods of the arraylist and the exact place in the jsp. In form while setting all the values are there but while getting the arraylist is null and that comes while the jsp is painting. there are no other flows in the middle. What Can be the possible issue?? I am exhausted. Please help..

Regards,
Acharya
 
Ankit Garg
Sheriff
Posts: 9528
32
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the ArrayList empty in the JSP or is it null when you try to access it. Maybe you are looking in the wrong scope. Can you please post the relevant part of your source code and the struts version you are using...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic