What is the Java Servlet / JSP MVC model?

The role of each element in the MVC model

Each element plays a role and one application is completed.

element name role
Java class Model Store processing and data
JSP View Responsible for displaying the screen
Servlet class Controller Accept and allocate processing

Let's create an MVC model!

Actually, we will create an MVC model. Pass instructions from the Controller to the Model and View.

Controller behavior

From the Servlet class, we will request various processing from the Jave class that is the Model and the JSP that is responsible for the View.

-** View drawing **

Recommended Posts

What is the Java Servlet / JSP MVC model?
What is MVC model?
What is java
What is Java <>?
What is Java
What is the best file reading (Java)
What is the model test code testing
What is the main method in Java?
What is JSP? ~ Let's know the basics of JSP !! ~
The MVC model at my workplace is terrible
What is Java Encapsulation?
What is the volatile modifier for Java variables?
What is Java technology?
What is Java API-java
[Java] What is flatMap?
What is a Servlet?
Understanding the MVC framework with server-side Java 2/4 Model
[Java] What is JavaBeans?
[Java] What is ArrayList?
[JAVA] What is the difference between interface and abstract? ?? ??
What is the difference between Java EE and Jakarta EE?
What is Java Assertion? Summary.
What is the pluck method?
What is the BufferedReader class?
Java Servlet / JSP View drawing
What is a Java collection?
[Java] What is jaee j2ee?
[Java] What is class inheritance?
What is the constructor for?
[Java basics] What is Class?
What is java escape analysis?
Java is the 5th day
What is the initialize method?
What is the LocalDateTime class? [Java beginner] -Date and time class-
What is the representation of domain knowledge in the [DDD] model?
JSP-About the MVC model of Servlet, redirect forward, and scope
What is JVM (Java Virtual Machine)?
Java Servlet / JSP Request Scope Part 1
'% 02d' What is the percentage of% 2?
Where is the Java LocalDateTime.now () timezone?
Java Servlet / JSP Request Scope Part 2
What is thread safe (with Java)
[Java] What is Concurrent Modification Exception?
What is a lambda expression (Java)
[Java Servlet] Senri no Michi is one step to the second
[Java] What is the difference between form, entity and dto? [Bean]
What is a class in Java language (3 /?)
What to do if the prefix c is not bound in JSP
What is the right migration data type? ??
What is testing? ・ About the importance of testing
[Java Servlet] The road of Senri is also the fifth step from the first step
[Java Servlet] The road of Senri is also one step to the first
About the new Java release model @ Seki Java (2018/07/20)
[Java Servlet] The road of Senri is also the third step from the first step
What is a class in Java language (1 /?)
What is Java and Development Environment (MAC)
What is a class in Java language (2 /?)
MVC model
What are the updated features of java 13
What is the data structure of ActionText?
The Java EE Security API is here!