AW: Status-Code of error-pages is always http-200?

2016-09-05 Thread Matthias Ludwig
Problem solved: It was a programming error in my own code. I set the status myself to 200. -Ursprüngliche Nachricht- Von: Matthias Ludwig [mailto:matthias-lud...@gmx.net] Gesendet: Montag, 5. September 2016 11:24 An: users@tomcat.apache.org Betreff: Status-Code of error-pages is always

Status-Code of error-pages is always http-200?

2016-09-05 Thread Matthias Ludwig
Hello, I'm using the servlet error-page Mechanism. I tried this under Tomcat 8.0.23 and 8.5.4. Background: I'm trying to implement a REST-Web-Service. Therefore I have to combine error-http-status with json/xml in the response body for further error information. I experienced the following: Tes