This week applies MVC to the design and implementation of the Electronic Voting System of Labs 3 and 4. This includes writing servlets to control and dispatch, beans and POJOs to model the data and the business rules, and JSP pages to author the view.
Map<String,Object>
data structures to hold data with three levels of persistence: context, session, and request. A fourth level (available only to JSP servlets is the page). javac
) and tested outside Tomcat.init
method is responsible for instantiating the model and storing it in the application scope.evs
.ELdemo.jspx
and JSTLdemo.jspx
in the Resource Directory under jsp
.