You could as you say, use a text file and read it in.
Some file like this would work:
www.domain1.com,***key1****
www.domain2.com,***key2****

Or you could use a database, same kind of structure.

I don't know JSP, but I just use ASP to assign the key to a JS
variable and use that in my JS code:
var apikey = "<%= apikeyfromasp %>"

We use a select case structure on one of our sites, but it only has 3
domains so it's pretty easy!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to