throw new AbortWithHttpErrorCodeException(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
François On Wed, Jan 9, 2013 at 2:31 PM, Gaetan Zoritchak < g.zoritc...@moncoachfinance.com> wrote: > Hi all, > > I've got a public website on which I fight against spammer. > > In the case of a form submit by a spamer, I would like to return a basic > response with an error code 500 (I hope that the tools used by spamer > check the return code to optimize the list of sites they spam). I don't > find where and how to do that. Does anyone have an idea? > > Thanks, > > Gaetan, >