refactoring on jsp + csv