what is the difference between servlets and struts?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by session? Tell me something about httpsession class?

807


What do you mean by web applications?

865


Why doesn’t a servlet include main()?

796


Explain the servlet context.

829


What is called a session?

864


Why do you use session tracking in httpservlet?

869


What is cookie in servlet?

803


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

809


What is the use of servlet wrapper classes?

911


Tell us something about servletconfig interface.

784


What are the types of servlet?

920


Why servlet is faster than jsp?

784


What is the use of send redirect () method?

811


List out the difference between ServletConfig and ServletContext?

801


Explain get and post.

884