why servlet is used as controller not JSP?

Answer Posted / zesan

Because when ever request is come then servlet is handle and
communicate to model and model process data and send back to
servlet . servlet those process data store into reositry area
then servlet can communicate to jsp and jsp response to
client . so every thing is done by servlet that is reason
servlet is used as controller.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How interceptor works in struts 2?

585


Explain about the future of struts?

531


What are the benefits of Struts framework?

557


Explain the complete struts validator framework.

576


How properties of a form are validated in Struts?

563






Explain about struts dispatch action?

544


What configuration changes are required to use resource files in Struts?

566


What are the applications of struts?

525


How can link tag’s action attribute be used?

518


Explain about logic match tag?

563


How long do struts last?

524


Briefly tell the two kinds of form beans.

555


When do I need “struts.jar” on my classpath?

530


What is the procedure of operation of a form tag?

548


What is the difference between struts and spring? Explain

483