what is the difference between servlets and struts?
Answers were Sorted based on User's Feedback
Answer / asd
Servlet is a simple java class, and struts is framework but
it is used servlet as action class to controll over request
and response.
| Is This Answer Correct ? | 38 Yes | 8 No |
Answer / 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 |
Answer / abinaya
Struts is a tag framework used in .jsp, to simplify
programming of
often used servlet and jsp code. It's similar to JSF, or jsp
tags, you
include tag libraries, Struts libraries and .xml config
files and then
you can use tags in .jsp pages and create servlets from them.
You can use both normal and Struts servlets in one web
application, it
depends on you.
| Is This Answer Correct ? | 25 Yes | 15 No |
What is the need of session tracking in web application?
What is Server-Side Includes?
when the webcontainer creates ServeletConfig,ServletContext objects? befoure creating the Servlet object or not?
Write a command to get actual path of a servlet to the server?
What is difference between server and servlet?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
What is the servletconfig object?
Define the lifecycle for executing a jsp page.
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
How would you create deadlock on your servlet?
How to get the actual path of servlet in server?
can anybody send me j2ee softwares such as tomcat,weblogic server ,netbeans