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
How to get the server information in a servlet?
Why servlet is faster than jsp?
How the typical servlet code look like ?
Is dispatcher servlet a singleton?
The code in a finally clause will never fail to execute, right?
how many jsp scripting elements are there and what are those?
Which method of the httpservletrequest object is used?
What’s the use of the servlet wrapper classes??
What is the servletconfig object?
What is difference between get and post method?
Explain the role of dispatcherservlet and contextloaderlistener.
Explain the servlet context.
Which java application server is the best?
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
What are the different methods of session management in servlets?