William- when I measuered the download time for using GZIP encoding, I saw a 50% improvement in download time.
The biggest hurdle we have is getting people to configure their browsers properly so that it uses the GZIp encoding mechanism.
All of these are good ideas- I tried putting it in a collection, and it just took too long to load, and I got an out of memory exception-same thing with a stringbuffer-I want to do William's solution, but I need to get that book to see what he's doing- what do you think if I did the following:
1. Create a startup
servlet that creates the large select list and writes it to a file.
2. do a file include in my jsp to include this file.
3. Use open symphony's cache taglibs and tag up the include file so that we cache it.
William your solution sounds very good, I just need to go out and get that book. I tried using byte arrays- but it would take a bit of recoding on my part.
What do you think of my suggested solution?