what is the difference between servlets and struts?

Answers were Sorted based on User's Feedback



what is the difference between servlets and struts?..

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

what is the difference between servlets and struts?..

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

what is the difference between servlets and struts?..

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

Post New Answer

More Servlets Interview Questions

Which java framework is most popular?

1 Answers  


What do you mean by a filter and how does it work?

1 Answers  


please give url to get orinal software for I-net crystal clear java report tools?

0 Answers  


What are the different methods of session management in servlets?

1 Answers  


What is the need of session tracking in web application?

1 Answers  


What are session variable in servlets?

1 Answers  


How is an application exception handling is done using a servlet?

1 Answers  


What is context switching?

6 Answers  


Why filter is used in servlet?

1 Answers  


i am bca student,give me suggest for bright future

18 Answers   BSNL, Future Considerations,


Write a hello world program using servlets.

1 Answers  


Why doesn’t a servlet include main()? How does it work?

1 Answers  


Categories