I have a JSP page with a drop down list that is to be populated with values from a database.
This is the code in my JSP file:
The DataManager.java class simply forwards this to its respective Peer class, which has the code shown below:
The classes compile properly, but when I load this page up in Tomcat it just freezes and does not load the form. I tested the DB connection and it works fine.
What am I doing wrong in the JSP code?
Thanks for the help in advance.
UPDATE: I commented out the form, and added <%=floornumbers.size()%> right above the commented code to check if the ArrayList is indeed getting populated with the values from the database (the values are of type integer in the database). The page still freezes like before. I'm puzzled now . [ January 11, 2008: Message edited by: Sridhar Venkataraman ]