Is it necessary to write a corresponding servlet for each JSP page in case of MVC Architecture?
Printable View
Is it necessary to write a corresponding servlet for each JSP page in case of MVC Architecture?
No Need to write servlet for each jsp page.In MVC, Servlet act as Controller so that u can send n number of Jsp requests but only one servlet acts as contoller
No, there is no need to write Servlet for each JSP...
u can do two things:
1. call multiple JSP from same page or
2. if u r using MVC design pattren then do the same through mappings using frameworks like struts n others.:)