Java view technologies and frameworks: Difference between revisions

Content deleted Content added
Mlavannis (talk | contribs)
Mlavannis (talk | contribs)
Line 11:
Built on top of the Servlet API, JSP provides for a HTML centric Server programming model. Java code is embedded in the JSP files and is executed when a request is received.
 
==Apache Struts2==
Built on top of the Servlet API, Struts2 provides for decoupling between the Controller and the View. Requests are received by a Java Class (Controller) which can decide which View to display. An XML configuration file is used to specify the "Page Navigation", i.e. the flow of the request to the appropriate Controller, and which View to display based on the outcome of the Controller.