petDetail servlet working