Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Advice On Including Country Codes  RSS feed

 
Dianna McDonald
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on a JSP form that contains 5 drop down list boxes. Two of these contain country codes, which are of course very long.This page takes a very long time to load as a result and I was wondering if anyone had suggestions on how I might make it load faster.
The form option selections that I have mentioned are placed in includes, I needed to reduce the size of the page because it exceded 65535 bytes.
 
Junilu Lacar
Sheriff
Posts: 11146
160
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only thing I can think of is to use JavaScript to populate the lists. I'm not sure how to do it exactly but I'm pretty sure (about 85% ) that it can be done using arrays in JavaScript. May not be very pretty but it might help you get that page size down a bit.
Junilu
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!