aspose file tools*
The moose likes Struts and the fly likes arraylist nullified in logic:notempty Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "arraylist nullified in logic:notempty" Watch "arraylist nullified in logic:notempty" New topic
Author

arraylist nullified in logic:notempty

Acharya Thiyagarajan
Greenhorn

Joined: Aug 01, 2009
Posts: 18
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

Joined: Aug 03, 2008
Posts: 9313
    
  17

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...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: arraylist nullified in logic:notempty