> So my question is as in the above php script we are out put the xml
> documnet ($dom->saveXML() ) so instead what should i have to do in a
> servlet.?
"How do I output XML from java?"
That's a question for a java group, this group is about the javascript
maps API.
> Also how to call my servelt as in the php file where it calls like,
>
> var searchUrl = 'phpsqlsearch_genxml.php?lat=' + center.lat() +
> '&lng=' + center.lng() + '&radius=' + radius;
> in order to call this method GDownloadUrl(searchUrl, function(data) {}
You would call it in the same way wouldn't you? A URL pointing at
your servlet probably with some url-encoded parameters.
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---