I do not understand your question deeply but what I think you get wrong. From my experience, I see that array can contain up to 10 million elements. However, stringbuffer only contains about 3 million characters
On Sep 22, 3:41 pm, aryan <sagar.k...@gmail.com> wrote: > How to get multiple values in StringBuffer object or array from result > set? > What i want to do is, want to access values from data base and show > into select tag. > For example:- > > ResultSet rs; > while (rs.next()) > { > //Access value into String buffer array/object > > } > > and show into > <select name="name"> > > <option><%=value%></option> > > </select> > > earlier I was using array. but it is not grow able. so i want to use > String Buffer. > Can any one tell how can i achieved this . > > Thanks in Advance!! > Regards > Sagar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---