a servlet to fetch attendance for a pesit bsc student and return it in JSON format