started report type and style handling in servlet code