Preferred way to pass data while uploading Blob

I am currently working on an AppEngine application that can receive file uploads. I prepare the upload data and pass the id of my DataStorage object along with the POST request.

The live version of the AppEngine quits with an internal server error, if I pass them as query string appended to the upload URL. This works with the development version. I then tried to read the raw data myself, which again works locally, but not on the live server.

Does anyone know the recommended way to access and pass data? The documentation says that the form fields remain avaiable, but does not describe how to access them.

many thank in advance for any ideas.

Edit: I have found something that looks like a recommendation, but does not work either:


Pass the additional parameters as extra form fields. They can be accessed in the same manner you would usually access form fields in a servlet.

Category:java Time:2011-10-14 Views:1

Related post

  • What is the preferred method of passing data between a service and an application 2009-12-15

    Possible Duplicate: Delphi 2009: How to communicate between Windows service & desktop application under Vista? I have a server running as a Windows service. To control the service and to display it's state I have an application running as a tray

  • What is the preferred way of passing data between two applications on the same system? 2010-08-12

    I have an application (A) that needs to launch another application (B). I need to pass data between the applications. I can think of two approaches. The first is to open a socket. The second is to share data via a dll. The opening socket approach is

  • Preferred way of passing data across threads 2011-02-21

    I have a main thread which should process data coming from several worker threads. But this data is not a specific class. There are around 6-7 classes, and I need to pass one of this class to the main thread from worker threads. Previously I had only

  • Pass Data In Memory from PHP to a .Net Program 2009-09-25

    How to pass data in memory from PHP to a .Net program? I will use Process to call the php.exe, and pass in the script name (*.php) and the arguments. The issue now is how do I pass back the data, from the PHP to the .Net? Specifically, I am looking a

  • ServiceStack RESTful WebService and passing data in message body 2012-03-07

    I am evaluating ServiceStack at the moment. I am in need to create bunch of RESTful webservices. I have the initial code running, and I am quite happy with that. What I was struggling a bit was how to create a service that could consume POST (or PUT)

  • What is the preferred method for passing server data to a RequireJS module? 2011-05-24

    Is there a preferred way to pass server data in a RequireJS module? Our current implementation looks like the following code snippets; using a 'page' object to hold any server/dynamic data and passing that to the main bootstrap. (We don't want to use

  • Passing data between C++ (MFC) app and C# 2008-10-08

    We have a monolithic MFC GUI app that is nearing the end of it's life in C++. We are planning to build new functionality in C# and pass data between each app. Question is: What is the best approach for passing data between C++ and C#? Notes: Both end

  • How should I pass data between classes and application layers? 2010-03-05

    For example, if I am creating a 3 layer application (data / business / UI) and the data layer is grabbing single or multiple records. Do I convert everything from data layer into generic list/collections before sending to the business layer? Is it ok

  • Passing data to overridden base method in C# 2010-06-11

    Bit of a dumb question, but I'm wondering what the accepted way of passing data from back to an overridden base method is in c#. e.g. I guess I could do: class A { int x; public virtual void DoStuff() { Console.WriteLine(x); } } class B : A { public

  • HashMap of WeakReferences for passing data between activities 2010-11-11

    I am particulary interested in the following suggestion from the official android FAQ. A HashMap of WeakReferences to Objects You can also use a HashMap of WeakReferences to Objects with Long keys. When an activity wants to pass an object to another

  • How to pass data from Java applet to client side python script? 2011-02-12

    I have a python script which does various number-crunching jobs and now need to put a graphical front-end on it (a molecular editor in which a user draws a compound to pass to the script) to allow others in the lab to use it more easily. The availabl

  • ASP.NET Passing Data Between Multiple Pages Session Question 2011-02-25

    So there seems not be any pretty answer to the question of how pass data between multiple pages. After having done a little homework here's why (or at least what I've gleaned): ViewState variables don't persist across pages. Session variables are vol

  • Passing Data between View Controllers 2011-03-06

    I'm new to iOS and Objective-C and the whole MVC paradigm and I'm stuck with the following: I have a view that acts as a data entry form and I want to give the user the option to select multiple products. The products are listed on another view with

  • What is the correct way to pass data to a running thread 2011-04-12

    In most cases when you create your thread you can prepare the data beforehand and pass it into the constructor or method. However in cases like an open socket connection you will typically already have a thread created but wish to tell it to perform

  • Passing data from an Activity to its View 2011-05-12

    This is a newbie question. What is the best way to pass an object from an Activity to its View? I know the View has access to its context. Are Intents still the way to go? Or is there something else? EDIT: Did not know the details about the data matt

  • pass data to a servlet 2011-05-12

    Basically we have a JSF app that dynamically generates a link to a servlet, which serves up the PDF file. I need to pass the path of the PDF to the servlet. I have no idea of how to pass data to a servlet. In the View we have: <d:protocolSection v

  • Passing data between Client Application and Web Application 2011-08-23

    I have a need to create a Web Application that can interact with 3D CAD on an engineers PC. What I was thinking is the [Web Application] would allow them to download a [Windows Service], then use [WCF] on the Server Host, then to the [Web Application

  • passing data from Oracle stored procedures to Java 2011-09-14

    We're going to write a new web interface for a big system based on Oracle database. All business rules are already coded in PL/SQL stored procedures and we'd like to reuse as much code as possible. We'll write some new stored procedures that will com

  • Passing data from a form value to ajax call (Javascript) 2011-10-03

    This may seem like a nub question. I’ll be the first to admit my knowledge of JavaScript is limited, I’m very desperately trying to learn, though. I’m having a bit of trouble when attempting to pass data to an additional field. $(function () { $('#up

Copyright (C), All Rights Reserved.

processed in 0.559 (s). 13 q(s)