Take the 2-minute tour ×  Hey all, This is my first question
here!     Might it be because my servlets are mapped to the
root?   if so, what are the alternatives?   share|improve this
question How are you generating 400s? –  johnstok Oct 27 '08 at
13:48 I'm forcing it by passing bogus parameters. Using Spring
MVC, in my controller I do this when bad parameters are passed:
if (!SUPPORTED_BY_PARAMS.contains(cmd.getBy())) { response.sendE
rror(HttpServletResponse.SC_BAD_REQUEST,"Unsupported search by
type: " + cmd.getBy()); return null; } –  Mike Desjardins Oct 27
'08 at 13:55 add comment  1 Answer   share|improve this answer
add comment  Your Answer