Implement the "commit" servlet