SESSION – 8
By→ Anuj Kumar Singh
MVC in JSP:
1. MVC stands for Model View and Controller. It is a design pattern that
separates the business logic, presentation logic and data.
2. Controller acts as an interface between View and Model. Controller
intercepts all the incoming requests.
3. Model represents the state of the application i.e. data. It can also
have business logic.
4. View represents the presentation i.e. UI(User Interface).
Advantage of MVC (Model 2) Architecture
1. Navigation Control is centralized
2. Easy to maintain the large application
a. index.html
b. ServletController.java
Jsp   session 8
c. LoginBean.java
d. login.jsp
e. error.jsp
Output
Jsp   session 8
Jsp   session 8

More Related Content

PPTX
Model view controller (mvc)
PDF
Architecture logicielle #4 : mvc
PDF
MVC - In Details
PPTX
Intro ASP MVC
ODP
Model View Controller
PPT
MVC Architecture
PPT
Ppt of Basic MVC Structure
PPTX
Model View Controller(MVC)
Model view controller (mvc)
Architecture logicielle #4 : mvc
MVC - In Details
Intro ASP MVC
Model View Controller
MVC Architecture
Ppt of Basic MVC Structure
Model View Controller(MVC)

What's hot (20)

PPT
MVC(Model View Controller),Web,Enterprise,Mobile
DOCX
IntroductionToMVC
PPTX
Mvc pattern and implementation in java fair
PDF
MVC architecture
PPTX
Model view controller (mvc)
PPT
Why MVC?
PPTX
Jsp with mvc
PDF
MVVM in iOS presentation
PDF
Mvc Architecture in a web based application
PDF
MVC Architecture
ODP
What is MVC?
PPTX
MVC architecture by Mohd.Awais on 18th Aug, 2017
PDF
Just a View: An Introduction To Model-View-Controller Pattern
ODP
Why Use MVC?
PPTX
Introduction to ejb and struts framework
PPT
MVC
PDF
MVC Seminar Presantation
PDF
Model View Controller (MVC)
PPTX
Mvc fundamental
MVC(Model View Controller),Web,Enterprise,Mobile
IntroductionToMVC
Mvc pattern and implementation in java fair
MVC architecture
Model view controller (mvc)
Why MVC?
Jsp with mvc
MVVM in iOS presentation
Mvc Architecture in a web based application
MVC Architecture
What is MVC?
MVC architecture by Mohd.Awais on 18th Aug, 2017
Just a View: An Introduction To Model-View-Controller Pattern
Why Use MVC?
Introduction to ejb and struts framework
MVC
MVC Seminar Presantation
Model View Controller (MVC)
Mvc fundamental

More from Anuj Singh Rajput (20)

PPTX
Web technology
PPTX
Java script
PPTX
Html (hypertext markup language)
PPTX
PPTX
Jsp session 13
PPTX
Jsp session 12
PPTX
Jsp session 11
PPTX
Jsp session 10
PPTX
Jsp session 9
PPTX
Jsp session 7
PPTX
Jsp session 6
PPTX
Jsp session 5
PPTX
Jsp session 4
PPTX
Jsp session 3
PPTX
Jsp session 2
PPTX
Jsp session 1
PPTX
Servlet session 14
PPTX
Servlet session 13
PPTX
Servlet session 12
Web technology
Java script
Html (hypertext markup language)
Jsp session 13
Jsp session 12
Jsp session 11
Jsp session 10
Jsp session 9
Jsp session 7
Jsp session 6
Jsp session 5
Jsp session 4
Jsp session 3
Jsp session 2
Jsp session 1
Servlet session 14
Servlet session 13
Servlet session 12

Recently uploaded (20)

PDF
BSc-Zoology-02Sem-DrVijay-Comparative anatomy of vertebrates.pdf
PDF
CHALLENGES FACED BY TEACHERS WHEN TEACHING LEARNERS WITH DEVELOPMENTAL DISABI...
PDF
WHAT NURSES SAY_ COMMUNICATION BEHAVIORS ASSOCIATED WITH THE COMP.pdf
PDF
HSE 2022-2023.pdf الصحه والسلامه هندسه نفط
PPTX
operating_systems_presentations_delhi_nc
PPTX
PAIN PATHWAY & MANAGEMENT OF ACUTE AND CHRONIC PAIN SPEAKER: Dr. Rajasekhar ...
PDF
Diabetes Mellitus , types , clinical picture, investigation and managment
PPTX
Approach to a child with acute kidney injury
PPTX
Math 2 Quarter 2 Week 1 Matatag Curriculum
PPTX
ENGlishGrade8_Quarter2_WEEK1_LESSON1.pptx
PDF
Kalaari-SaaS-Founder-Playbook-2024-Edition-.pdf
PPTX
GW4 BioMed Candidate Support Webinar 2025
DOCX
EDUCATIONAL ASSESSMENT ASSIGNMENT SEMESTER MAY 2025.docx
PDF
faiz-khans about Radiotherapy Physics-02.pdf
PDF
Physical pharmaceutics two in b pharmacy
PDF
GSA-Past-Papers-2010-2024-2.pdf CSS examination
PDF
anganwadi services for the b.sc nursing and GNM
PDF
Health aspects of bilberry: A review on its general benefits
PDF
English 2nd semesteNotesh biology biopsy results from the other day and I jus...
PPTX
Neurological complocations of systemic disease
BSc-Zoology-02Sem-DrVijay-Comparative anatomy of vertebrates.pdf
CHALLENGES FACED BY TEACHERS WHEN TEACHING LEARNERS WITH DEVELOPMENTAL DISABI...
WHAT NURSES SAY_ COMMUNICATION BEHAVIORS ASSOCIATED WITH THE COMP.pdf
HSE 2022-2023.pdf الصحه والسلامه هندسه نفط
operating_systems_presentations_delhi_nc
PAIN PATHWAY & MANAGEMENT OF ACUTE AND CHRONIC PAIN SPEAKER: Dr. Rajasekhar ...
Diabetes Mellitus , types , clinical picture, investigation and managment
Approach to a child with acute kidney injury
Math 2 Quarter 2 Week 1 Matatag Curriculum
ENGlishGrade8_Quarter2_WEEK1_LESSON1.pptx
Kalaari-SaaS-Founder-Playbook-2024-Edition-.pdf
GW4 BioMed Candidate Support Webinar 2025
EDUCATIONAL ASSESSMENT ASSIGNMENT SEMESTER MAY 2025.docx
faiz-khans about Radiotherapy Physics-02.pdf
Physical pharmaceutics two in b pharmacy
GSA-Past-Papers-2010-2024-2.pdf CSS examination
anganwadi services for the b.sc nursing and GNM
Health aspects of bilberry: A review on its general benefits
English 2nd semesteNotesh biology biopsy results from the other day and I jus...
Neurological complocations of systemic disease

Jsp session 8