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 is the purpose of execute() method?

806


What is struts2 framework?

719


What is the purpose of @beforeresult annotation?

778


What is front controller in struts?

754


How the flow of various requests happens in struts application?

763


Whats the difference between the default namespace and the root namespace?

740


How is token generated?

780


What is the purpose of @doublerangefieldvalidator annotation?

787


Describe the mvc on struts?

737


What do you mean by actionmapping?

748


How you will make available any message resources definitions file to the struts framework environment?

766


What is apache struts framework?

725


What is the purpose of '@customvalidator'?

798


What are the various struts tag libraries?

727


What is interceptor struts2?

751