added report type and style handling to servlet request/response handling code