Java Reversi with Servlet using XML parsing