C
charlesmusco
I have an arraylist defined and populated in a servlet. What I want to
do is pass the arraylist to a JSP and display the values in the
arraylist.
Now to accomplish this what I did was to take the request object and
set an attribute on it. The attribute I added was the ArrayList. The
problem was when the JSP receives the request and does a getAttribute
on the request it is saying the ArrayList is null.
Any ideas on how I can pass this arrayList from a servlet to a JSP?
do is pass the arraylist to a JSP and display the values in the
arraylist.
Now to accomplish this what I did was to take the request object and
set an attribute on it. The attribute I added was the ArrayList. The
problem was when the JSP receives the request and does a getAttribute
on the request it is saying the ArrayList is null.
Any ideas on how I can pass this arrayList from a servlet to a JSP?