-
What is Struts2?
Apache Struts2 is an open source framework to build web applications in Java. Struts2 is based on OpenSymphony WebWork framework. It’s highly improved from Struts1 and that makes it more flexible, easy to use and extend. The core components of Struts2 are Action, Interceptors and Result pages.
Struts2 provides many ways to create Action classes and configure them via struts.xml or through annotations. We can create our own interceptors for common tasks. Struts2 comes with a lot of tags and uses OGNL expression language. We can create our own type converters to render result pages. Result pages can be JSPs and FreeMarker templates. -
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?
Struts2 is designed to overcome the shortcomings of Struts1 and to make it more flexible, extendable. Some of the noticeable differences are:
Showing posts with label Struts2 Interview Questions and Answers. Show all posts
Showing posts with label Struts2 Interview Questions and Answers. Show all posts
Friday, January 31, 2014
Struts2 Interview Questions and Answers
Subscribe to:
Posts (Atom)