what is the difference between servlets and struts?

Answer Posted / sandy

servlet is used to web based application.where as struts is
a framework it is easy to configure the validation part
comparing to servlet.
to built an web based application servlet take more amount
of time comparing struts.in struts we use action servlet

struts work under mvc architecture where servlet acts as a
controller part

Is This Answer Correct ?    19 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by mime type?

807


How do you find out what client machine is making a request to your servlet

799


What is difference between server and servlet?

834


How many objects of a servlet is created?

1025


Can you create a deadlock condition on a servlet?

814


Write all the phases defined in servlet life cycle?

783


What are life cycle methods of a servlet?

814


What are the different methods involved in generic servlet?

833


What are the advantages of servlets over traditional cgi?

841


Explain the features are in servlet 3?

841


What exactly is a servlet?

733


What’s the difference between forward() and sendredirect() methods?

809


Define servlet mapping?

926


Explain in brief the directory structure of a web application?

827


What is cgi?

800