Struts2: Convention Plugin Simple Example

Tutorials Shared by the Internet Community

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

Struts2: Convention Plugin Simple Example

This post explains how to use struts2 convention plugin to eliminate xml based configuration in struts.
http://www.programming-free.com/2012/12/understanding-struts-2-simple-example.html
  • Total Hits: 18244

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 181 votes

  • Category: JAVA/Struts

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

  • Submitted By: PRIYADARSHINI

  • Set as Favorite

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

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 34.25%  62
 Two starsTwo star  Vote LeftVote MiddleVote Right 9.94%  18
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 12.71%  23
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 10.5%  19
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 32.6%  59

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.






Advertisements