Struts2: Convention Plugin Simple Example

Tutorials Shared by the Internet Community


  Top Tutorials     New Tutorials     Submit     Login     Register  

Struts2: Convention Plugin Simple Example

This post explains how to use struts2 convention plugin to eliminate xml based configuration in struts.
  • Total Hits: 21561

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating


  • Total Votes: 204 votes

  • Category: JAVA/Struts

  • Submitted on: 2013-12-19 00:40:00

  • Submitted By: PRIYADARSHINI

  • Set as Favorite


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...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 39.71%  81
 Two starsTwo star  Vote LeftVote MiddleVote Right 9.31%  19
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 11.76%  24
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 9.8%  20
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 29.41%  60

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.