Hi I am akriti's team member.

This is part of my servlet code.

public void doPost(HttpServletRequest request, HttpServletResponse
response)  throws ServletException, IOException {
                {
        ServletFileUpload upload = new ServletFileUpload();

        try{
            FileItemIterator iter = upload.getItemIterator(request);

            while (iter.hasNext()) {
                FileItemStream item = iter.next();
                String name = item.getFieldName();
                InputStream stream = item.openStream();
               // try{
                 Kml kml = Kml.unmarshal(stream);

                //if (kml == null)
                        {
                                Feature feature = kml.getFeature();
                                processFeature(null, feature);
                        }

On Jul 13, 12:31 pm, Pieter Coucke <pieter.cou...@onthoo.com> wrote:
> Could it be that the file upload tries to store the file in a temporary
> directory somewhere?
>
> --
> Pieter Coucke
> Onthoo BVBAhttp://www.onthoo.comhttp://www.koopjeszoeker.be

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

Reply via email to