java - get a file in javascript in play framework 1.2.4 -


i'm having issue adding xml file javascript, i'm working play framework 1.2.4

my javascript has following fonction :

 downloadurl("example.xml", function (data) {             var markers = data.documentelement.getelementsbytagname("marker");             (var = 0; < markers.length; i++) {                 var latlng = new     google.maps.latlng(parsefloat(markers[i].getattribute("lat")),                                     parsefloat(markers[i].getattribute("lng")));                 var name = markers[i].getattribute("name");                 var windowcontents = "<h3>" + name + "</h3>";                 var marker = new google.maps.marker({ position: latlng, map: map });                 bindinfowindow(marker, map, infowindow, windowcontents);             }         }); 

but exception says mapbillaction.example.xml action not found (mapbillaction controller)

i have folder in view called mapbillaction contains example.xml file , others page .html

thanks in advance !


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -