An application does not always use dynamic code to handle requests and there are plenty of static content to be served as-it-is. For example, flash animations, images and stylesheets etcetera are all served directly without any processing required.
Google https://www.programmerfish.com/category/app-engine-google/' target='_blank'>App Engine does not provide any automatic way manage directory structure and it has to be specified in your app.yaml file. This is how it’s done:
Suppose your main app directory is helloworld and you have a stylesheet named style.css in helloworld/styles. This is how you edit your app.yaml file to map all requests to /styles to helloworld/styles directory. This is actually archived by URL re-writing.
Directory Structure:
ROOT/SUB_FOLDER
App.yaml
application: helloworld
version: 1
runtime: python
api_version: 1
handlers:
- url: /styles
static_dir: styles
- url: /.*
script: helloworld.py
Here the /styles URL is mapped to sub folder /styles in helloworld root directory.
This is how static directories are mapped in your apps for Google https://www.programmerfish.com/category/app-engine-google/' target='_blank'>App Engine