Forums Register Login

Empty bean

+Pie Number of slices to send: Send
Hello to all,
I'm using Tomcat 3.2.1. and I'm getting empty java beans.
What I mean is that I setup a correct database connection, fetch the data, store it in my beans, put the beans in an ArrayList, print the content of the ArrayList in a file (so the list is full), and send the list via the setAttribute method of
HttpServletRequest in my servlet.
Once in my JSP, the ArrayList is instanciated (not null) but empty.
Does anybody know why this is so?
Thanks for your help.
+Pie Number of slices to send: Send
could be a million reasons. How is it instantiated and what does the constructor look like? Why is it instantiated if it already is supposed to be there containing data?
Tell me how it all turns out. Here is a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1120 times.
Similar Threads
Using Javac Command Line Options in Windows
Clarification of Servlet life cycle
Proper EL Syntax
Apache axis arraylist problem
Collections.copy method for lists ? how it works
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 02:38:46.