Hi to all, "Why Servlets use as a Controller.?" This question asked in one of my interview,could any one help me to find the ans..Thank you in advance...
Any sufficiently advanced bug is indistinguishable from a feature.
posted 13 years ago
To separate responsibilities. You allow the JSPs to be responsible for the presentation, the EJB's to model the data and business rules, and the servlets to control the interactions. Thomas Paul wrote an article on Struts which uses the MVC pattern and discusses each responsibility.
"JavaRanch, where the deer and the Certified play" - David O'Meara