When the todo example is generated, the directory created that contains the app.xml and the other artifacts is "apps". However, this does not match the path that is resolved in the url, which is osapp, .e.g. http://host:port/osapp/todo/todos.html. This should be changed to provide consistency with between the code structure and the URL path that is used to resolve the artifacts.