You can also avoid extra traffic against your servlet and datastore by making sure to set http caching headers appropriately.
On Wed, Sep 16, 2009 at 1:50 PM, Don Schwarz <schwa...@google.com> wrote: > The "Service for storing and serving large files" item on the Roadmap will > give you what you want when it launches: > http://code.google.com/appengine/docs/roadmap.html > > In the mean time your current approach sounds reasonable. > > On Wed, Sep 16, 2009 at 12:35 PM, Jerome <jerome.mou...@gmail.com> wrote: > >> >> Is there a way to create static files from a servlet? >> >> We are using an image upload JSP, but we currently store the image in >> the data store, and we serve the image back with a servlet. As the >> images are referenced from emails we send from AppEngine, it would be >> more efficient to just reference a static URL for the image, rather >> than pointing to the servlet (useless CPU and data store usage). >> >> Thanks, >> >> Jerome >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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-java@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 -~----------~----~----~----~------~----~------~--~---