Hi there, I need some guidance on my servlet.
Does anyone expert in iterator part of built in package of java libary List?
List dataList = new ArrayList();
Actually I m able to perform first query with data display..but when I click on other button..it cant proceed servlet and it gv me blank page.Iterator itr; for(itr=data.iterator();itr.hasNext();)
Servlet.java
String sql="select * from a natural left join b" + "natural left crecord natural left join dwhere jobid="+jobid+ "order by recordid"; stmt = conn.createStatement(); stmt.executeQuery(sql); rs=stmt.getResultSet(); List dataList = new ArrayList(); while(rs.next()) { dataList.add(rs.getInt("xxx")); }
p/s: my form sure ok just dunno why cant read my parameter