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

How to create war file?

695


How do we share data using 'getservletcontext ()?

627


What are Servlets?

696


Which is the methods of generated servlet?

760


What is meant by a servlet?

690






What is difference between jsp and servlet?

726


What's the advantages using servlets than using cgi?

630


What is ServletContext object?

724


What are all the protocols supported by httpservlet?

728


Which interface should be implemented by all servlets?

802


What's the servlet interface?

686


What is the procedure for initializing a servlet?

611


Tell the new features added in servletrequest interface i.e. Servlet 2.4

665


What are the types of Session Tracking ?

725


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

696