Hi Johnny, In your screen class, you should have the method: public final void doBuildTemplate(RunData data, Context context) throws Exception
This is where you perform any particular business logic and add information to the context. You can use the RunData parameter to set the HTTP response code, like this: data.setStatusCode(404); -Tyler -----Original Message----- From: Johnny Quazar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:17 PM To: Turbine Users List Subject: returning 404 not 200 Hi All, Is there a way to affect the HTTP response code? I'm trapping certain conditions and sending back a custom error message "no such content" and I'd like to tell the browser (and the webcrawlers) 404 Page Does Not Exist and not 200 Success. I'll confess I haven't grepped the doc, based on a hunch that this just isn't possible. But it occurred to me to just ask. So I'm asking. THANKS --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
