java file for dentist page