File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
performance enhament in combo re-loading
Joined: Jan 10, 2007
Jan 11, 2007 07:03:00
My page dropdown has around 3000 values. When i tried to reduce the number of values in page dropdown then it took around 25 seconds. Is there any optimize code to reduce that time?
My code snippet:
Initially, dropdown has 3000 values.
[ January 12, 2007: Message edited by: Gauravu Arorau ]
Author and ninkuma
Joined: Jan 10, 2002
Jan 11, 2007 08:45:00
There's no such thing as a "combo" on the web. I assume you mean a select element, sometimes called a dropdown.
That's far too many values to be inundating a user with in a dropdown. You should investigate other ways to present this to the user.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: performance enhament in combo re-loading
dropdown selection in Struts2
implementing dynamism dropdown box
Getting a dropdwon value from a jsp page
Handling Browser Back Button & Multiple Tabs
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014