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
Should I override the service() method?
How can you start a jta transaction from a servlet deployed on jboss?
Explain web container.
What is a servlet engine?
How can the referrer and the target urls be used in servlet?
What is a deployment descriptor?
Differentiate between get and post?
Is servlet a server side scripting language?
What is the major difference between context parameter and context attribute?
Explain jsessionid and when is it created?
What exception should be thrown when servlet is not properly initialized?
What are the supporting protocol by HttpServlet ?
What is the major difference between servlet and applet?
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
How will you pass values from HTML page to the servlet?