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 struts2 in java?

527


What are the benefits of Interceptors in Struts2?

640


What is struts and springs in java?

524


How properties of a form are validated in Struts?

563


How struts 2 validation works?

566






What is the procedure of operation of a form tag?

548


When should we use SwtichAction?

591


What is struts in j2ee?

517


while working struts in intellij 7.0error unable to initialize tld location cache: zip file is closed is displayed anybdy can answer me immdialy .ungert

2047


What are pull and push mvc architecture and which architecture does struts2 follow?

504


Can I have html form property without associated getter and setter formbean methods?

567


Is struts 1 still supported?

506


Name the different types of actions found in struts.

551


What is controller in struts ?

526


What are the life cycle methods of interceptor?

514