On Dec 16, 9:40 am, "[email protected]" <[email protected]> wrote: > > My requirement is i need to read the key value from property file, > <% > String keyId=(String)session.getAttribute("key"); > %> > > <head> > <script src="http://maps.google.com/maps? > file=api&v=2&key='+keyId+'"' > type="text/javascript"> > </script> > > I'm passing the same key value in the session.
And what do you see when you view the source of the browser page? I expect you will see *exactly* what you have quoted here, where keyId is not replaced with the key. That's because keyId is a server-side variable, not client-side. You need to ensure the server outputs its value at that place. > Need help on this as early as possible. http://www.catb.org/%7Eesr/faqs/smart-questions.html#urgent -- and the rest of that is well worth a read, along with the posting guidelines for the Group. Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
