Use a POST - the 2000 character limit is there because some browsers can't
handle URLs that long. It might also be easier to write your code in a
servlet and not a JSP. Can you post it for people to look at?

On Sun, May 16, 2010 at 2:11 PM, Erich <[email protected]> wrote:

> Hi All.
>
> I'm completely illiterate in Python, so I've created a workaround in
> Java to upload Java Object to the datastore.
>
> I have a deployed JSP which receives data and uses reflection and
> various magic to take the incoming URL, create the objects dynamically
> and add them to the store. I've built my uploader and receiver to take
> advantage of bulk operations to save URL and datastore calls.
>
> There are some serious drawbacks to this method:
> 1 - The maximum URL length before a 414 error is 2000. This really
> limits how many objects can be passed per URL.
> 2 - I haven't figure out a way to do this using securely. (without
> exposing the JSP publicly)
>
> The good things about it:
> 1 - All Java (no installing a second google app program and mucking
> around in Python)
> 2 - No need to create intermediate files on your system. Plain Object -
> > Datastore
>
> I would like to improve this if possible. Does anyone know how the
> python uploader works? Is a special URL or connection I can make to
> pass more data or do it securely?
>
> Thanks,
> Erich
>
> --
> 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
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
Ikai Lan
Developer Relations, Google App Engine
Twitter: http://twitter.com/ikai
Delicious: http://delicious.com/ikailan

----------------
Google App Engine links:
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to