1

Is there any way I can use apachecommons library while using google appengine as the server ?

I have to add the functionality of file uploading to my web project. I have been doing it using apachecommons.Even if I use the respective jars while in the IDE by just placing them into the lib folder,what will happen when I click to deploy the application.The jars won't go with that.

So Is there any way out ?

2
  • Your question isn't really clear... Commented Jul 27, 2012 at 16:12
  • @Rick Mangi see the edit Commented Jul 27, 2012 at 17:42

2 Answers 2

1

Which apache commons library? http://commons.apache.org/fileupload/? Anything you put in WEB-INF/lib folder in your war directory goes up to appengine.

Assuming you are talking about the apache fileupload jar.. no, it won't work. As the above poster said there is no "file system" to upload to. You have to roll your own upload process to put things in the blobstore.

see this for an example: How to upload and store an image with google app engine (java)

Sign up to request clarification or add additional context in comments.

Comments

0

You can't simply upload file in GAE. But you can use the Blobstore. See https://developers.google.com/appengine/docs/java/blobstore/overview#Writing_Files_to_the_Blobstore Maybe I don't answer to your question about apachecommons, but I hope it'll help you...

1 Comment

I wanted to know about apachecommons .There will surely be a way to adjust your library files. I mean the files that I have added in the library other than the jars of server's sdk and jdk

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.