|File Size||8.36 KB|
|Create Date||August 3, 2016|
Description of MVC Login Application Session and Request Dispatcher Object
This source code is the example of MVC Login application is explaining Session and Request Dispatcher Object. This application explains the authentication process for login application using JSP and Servlets and displaying the username on success.jsp by getting it from stored data structure.
Here View classes are success.jsp and login.jsp. The controller class is LoginServlet.java model is the data that is being transferred to the layers MVC is an architectural pattern. This example is tested on JEE Eclipse with Apache(Tomcat) web server you can learn setting up an environment for dynamic web application project in this tutorial. A new class is added i.e. user.java. It is an example of Data transfer object and Model of the MVC approach.