fixed all servlets, style template 1 and 2

check the workflow of the application