Struts2: Convention Plugin Simple Example
Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 19061
Total Votes: 199 votes
Submitted on: 2013-12-19 00:40:00
Submitted By: PRIYADARSHINI
Description:Apache Struts2 is a java based web framework that encourages developers to adopt to Model-View-Controller architecture. The goal of Struts is to separate the application logic from the user interface that will help improve maintenance of the project. The web developer is responsible for creating the model (core logic) and for creating a central configuration file (struts.xml) that will bind together the model, view and the controller. One can also go for convention based programming and name the action classes (controllers) and the views (JSP) according to the standard conventions so that the program will automatically recognize the right one to call, instead of using the traditional configuration file (struts.xml) approach. More detail...