Almost done with template.jsp. Few validations to be added.