getNextProblem Dao and servlet