2008/2/22, shreya_2008 <[EMAIL PROTECTED]>: > > Below is what i wrote in action. > Statement stmt=con.createStatement();
Err... a statement creation in an action? You'd better read some theory before :-) But the problem is I am not getting how to deal with multiple records. > Of course we store them in array but is that the correct method? Array, collection, whatever you want. How such multiple instances form properties can be used and how can i print > them in jsp? <c:forEach>, <logic:iterate>, choose your poison :-) Ya there is logic iterator and all but where and how should i put the db > query result. Create beans from the resultset and put them in a list. But, again, I think that you should read a tutorial or a book. Programming without a guide will lead you to write a pile of crap. Antonio