ex.printStackTrace();
}
}
}
public void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws IOException {
HTTPServerInputStreamContext ctx = new HTTPServerInputStreamContext(this) {
public void initContext() throws IOException {
super.initContext();
inStream = req.getInputStream();
origInputStream = inStream;
}
};
ctx.put(HTTPServerInputStreamContext.HTTP_REQUEST, req);
ctx.put(HTTPServerInputStreamContext.HTTP_RESPONSE, resp);
ctx.initContext();
callback.dispatch(ctx, this);
}