--- Jayaveeran <[EMAIL PROTECTED]> wrote: > I am populating a dropdown in my jsp which has more > than 10,000 elements in it.
That's your first problem. > Since the record size is very huge the time taken for the JSP to load > is very high. I am using the folowing snippet to populate the dropdown. > I am using struts framework. Is there any other way that I can populate > the dropdown to make it faster? Not really... As suggested, using some form of autocompleter might be a good idea, depending on how the back end is implemented. A dropdown with that many elements is going to cause problems on several fronts; it might make the JSP to big (some (all?) app servers won't handle a JSP larger than 64K), it may cause an issue in some browsers due to sheer size, and it'll almost always render fairly slowly. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]