// The JSP page will see the same method as the original request (PUT)
// PUT requests are normally blocked for JSPs
ErrorPage ep = new ErrorPage();
ep.setErrorCode(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
ep.setLocation("/WEB-INF/jsp/error.jsp");
context.addErrorPage(ep);
tomcat.start();
int rc = methodUrl("http://localhost:" + getPort() + "/test/bug56568",
new ByteChunk(), 5000, null, null, "PUT");