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
What is the type of method for sending request from http server?
How to get the path of servlet in the server?
What is the use of welcome-file-list?
What is URL Encoding?
Can we fetch the attributes related to a servlet on a different servlet?
How can an existing session be invalidated?
Differentiate between get and post?
Describe the phases of servlet lifecycle?
How printwriter is different from servletoutputstream?
How to rectify errors in java servlet while compilation?
Explain the role of dispatcherservlet and contextloaderlistener.
Why do we use sendredirect() method?
What are its drawbacks of cgi?
Is it possible to have a constructor inside the servlet?
How do you define a servlet?