hi,

I'm using gMaps4JSF, . Its working fine when i hard code the key
value.
i e
<head>
   <script src="http://maps.google.com/maps?
file=api&amp;v=2&amp;key=ABQIAAAAg3yiKGk2l22vFpe9tFC6gxRjH8uTK03cJU7L7wwz2z6nQ23xzxQwJyJ2pGUI4oqyhwPnJbRZ77ExWw"
      type="text/javascript">
    </script>
</head>

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&amp;v=2&amp;key='+keyId+'"'
      type="text/javascript">
    </script>

I'm passing the same key value in the session.

The Above code will results in "
The Google Maps API key used on the web site was registered for the
different site. You can generate new key for this web site at
http://code.google.com/apis/maps/";

Need help on this as early as possible.

--~--~---------~--~----~------------~-------~--~----~
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