Extracted the FOP code out of the servlet and place it into a FOPUtils class.