Not exactly sure if this will help performance but I am using the
org.apache.struts.util.LabelValueBean and the optionsCollection. Works a
treat, one other thing is maybe cacheing your "landliste" if this is
possible.

Joe

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, 9 August 2002 5:59 PM
To: [EMAIL PROTECTED]
Subject: Get better performance with optionsCollection


Hi!

I use a select-tag im my JSP. But now a have a performance problem, because
I have an options-list with more than 100 entrys. Is there someone who can
tell me hot to make this faster (better way to do this!).

My Settings:

JSP:
                <html:select property="land2">
                <html:optionsCollection property="landliste" label="name" 
value="code"/>
                </html:select>


Form-Object:
                public Vector getLandliste()
                {
                        // Returns a Vector with Land-List-Entry-Objects
                }


Thanks:

Marc

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to