Creating a view

Now, let's create a view, home.jsp, in the src/main/webapp/WEB-INF/views/home.jsp folder, with the following HTML content:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Spring MVC</title>
</head>
<body>
<h2>Welcome to Bank</h2>
</body>
</html>

Now, when we run this application, it will show the following output:

In the next section, we will learn about Spring asynchronous processing.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset