why servlet is used as controller not JSP?

Answer Posted / xxx

while using in mvc1 architechture jsp is used as the
request and the response so that the presentation and
apllication logic are the same component but in case of
using servlets in mvc2 the advantage over this is that the
request is handled using jsp but the response and the
overall manipulation is done by using the servelet so that
the presentation and application logic are the same...ie
the difference

Is This Answer Correct ?    10 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What configuration changes are required to use Tiles in Struts?

793


Lists the bundled validators in struts?

779


What is filter dispatcher in struts?

726


What is the purpose of struts.xml in struct2?

898


What is the design role played by struts?

775


What do you mean by actionservlet?

783


What is struts and springs in java?

775


What are the Core classes of Struts Framework?

814


How is forward action used for integration?

806


What is struts2 framework?

736


What is controller in struts2?

733


What is actionmapping?

866


What is struts.devmode?

818


What do struts do?

748


Which servlet does the struts framework use?

753