[google-appengine] Re: Error pages for 404 etc

2009-02-23 Thread Dave Warnock
Thanks for the help. that works. 2009/2/23 Steffen 'stefreak' Neubauer : > On Mon, 23 Feb 2009 23:25:48 + > Dave Warnock wrote: >> How/where do I define my 404 page and get it to be displayed when I >> declare error(404)? > You have to send it as response to the client manually. > e.g. > sel

[google-appengine] Re: Error pages for 404 etc

2009-02-23 Thread Paul Roy
my way of doing it is to route to that handler any url that doesnt match any other handler in my app. Sent from my iPhone On 09-02-23, at 18:25, Dave Warnock wrote: > > Hi, > > Using the built in web app framework I am declaring an error 404 > like this: > > class Controller(webapp.Request

[google-appengine] Re: Error pages for 404 etc

2009-02-23 Thread Steffen 'stefreak' Neubauer
On Mon, 23 Feb 2009 23:25:48 + Dave Warnock wrote: > How/where do I define my 404 page and get it to be displayed when I > declare error(404)? You have to send it as response to the client manually. e.g. self.error(404) self.response.out.write(""" Not Found 404 - Not Found Sorry, but this fi