i am tryin to run java api for kml for uploading a kml file from some
specified loaction from my system nd parse it, m gettin the desired
output in the standalone mode but d same code is not workin when m
trying to run it as a web application  .ne solutions?
here is d code:-
public String loadKML2(String fileName) {

                try
                {

                Boolean fileOK = true;

                File fileIn = new File(fileName);

                Kml kml = Kml.unmarshal(fileIn,fileOK);

                if (kml != null)
                {

                        Feature feature = kml.getFeature();

                        processFeature(null, feature);
                }

                Placemark placemark ;



    }
    catch (Exception e){

      System.err.println(e);

      System.exit(0);

    }

    return "Success";
  }

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to