Am Freitag, 20. Juni 2003 19:23 schrieb Yee, Richard K,,DMDCWEST:
> Brian,
> Have you tried different browsers? It might be a browser limitation.
> You might want to re-think your user interface design.

Putting more than 30 items in a combobox might not be the best idea to
think of, but in this case, *countries*. Hm. All sites I know of always
present the country list this way. Hm. Anyway: if it's a browser
limitation, you can instantly tell by looking at the HTML sources. If
the missing items are there, the browser is the culprit. If not,
something unexpected happened in-between. Given that Vector is
thread-safe, the code that puts it in (request | page?) scope might be
not. But one thing does strike me here, still, as appparently the
countries list is being read from the back end facade each time the
page is displayed. There could be reasons for doing so, but if it's
just a dumb list of all countries known so far: what hinders you to
from putting the Vector into application scope upon initialisation of
the whole thing and leaving it there until either the server is
rebooted or yet another rebellion is successful? If you just read from
the list, an un-synchronized - read: faster - Collection like ArrayList
might be fitting the needs as well and might be preferable to Vector in
this case, too.

HTH,

-- Chris (SCPJ2)

> Rgds,
>
> Richard
>
> > -----Original Message-----
> > From: Brian P Bohnet [SMTP:[EMAIL PROTECTED]
> > Sent: Friday, June 20, 2003 10:21 AM
> > To:   [EMAIL PROTECTED]
> > Subject:      Large vector filling select box
> >
> > Hello all,

[CLIP!]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to