returning error messages from tomcat to http clients?

2008-11-20 Thread Padraig O'Dowd
and then embeds the error message in html - is there a way to stop this and just get tomcat to return my error message? Thanks, Padraig O'Dowd - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: returning error messages from tomcat to http clients?

2008-11-20 Thread Padraig O'Dowd
PM, Padraig O'Dowd [EMAIL PROTECTED] wrote: Hi, I'm encountering the following problem and just wanted to find out if there is a way to disable this in tomcat? In my web app in tomcat, I do the following - response.setError(My error message); but when tomcat returns the response