@Dharmakumar
2.In the Spring config file add the mapping for this url
<bean name="/addEmployee.do" class="<give your controller class location with full package structure>"/>
If I do this, my
tomcat crashes during startup with the following error
@Prasad Krishnegowda
I had earlier tried doing that, but the request
addEmployee.do was being resolved to
/WEB-INF/jsp/addEmployee.jsp which is my default ViewResolver configuration in spring config file.
However, I tried the same again right now and it has worked. I have no idea why it had not worked the first time and why was it going to the ViewResolver earlier.
Anyway, thanks for your help!