0 Replies Latest reply on May 20, 2008 9:18 AM by stereoscope

    Java remoting ; File creation, Javascript

    stereoscope

      hi there!


      i'm trying to get data from java by using seam's remoting extension! i wanna get this data in json data format but the only way to receive this data is as String ! So  i thought about a possibility to write the json-stuff in a file and hoped to read the file with XMLHttpRequest() because i'm implementing Google Maps! Problem: i try to save the file using java but i realized that the file will be stored in the Jboss-Home/bin directory! does anyone know how to save the file at a position where i can access it by Javascript!?


      e.g. /view/javascript/jsonFile.txt



      cheers