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 do you mean by session tracking?
What is servletconfig?
Which interface must be implemented by all servlets?
How to get the IP address of client in servlet?
How to notify an object in session when session is invalidated or timed-out?
How is an application exception handling is done using a servlet?
What is the difference between forward () and sendredirect () functions in servlet? Explain
What is the difference between context parameter and context attribute?
Explain how does JSP handle run-time exceptions?
Why filter is used in servlet?
What is a servlet context object?
What is a servlet engine?
What are life cycle methods of a servlet?
What are the common methods that are included in the http servlet class?
Is it possible to have a constructor inside the servlet?