Hi Wen Long, Jonathan B is exactly right. Please see the link he references. Specifically, read the section titled "Handlers for static files".
[quote] For efficiency, App Engine stores and serves static files separately from application files. Static files are not available in the application's file system. If you have data files that need to be read by the application code, the data files must be application files, and must not be matched by a static file pattern. [/quote] On Nov 25, 11:46 pm, Jonathan B <[email protected]> wrote: > On Nov 23, 9:47 am, "[email protected]" <[email protected]> wrote: > > > I just want to call a html file and display it,but I'don't know how to > > do! foe example: > > GAE serves dynamic (.py) and static (e.g. .html) files separately. You > need to specify which is which in your app.yaml file with a new static > handler. > > For example: > > - url: /(.*\.(gif|png|jpg)) > static_files: static/\1 > upload: static/(.*\.(gif|png|jpg)) > > The full details are > here:http://code.google.com/appengine/docs/configuringanapp.html > > --Jonathan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en -~----------~----~----~----~------~----~------~--~---
