{"id":288,"date":"2023-04-01T12:31:19","date_gmt":"2023-09-30T06:44:29","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc\/"},"modified":"2025-07-31T22:21:22","modified_gmt":"2025-07-31T13:21:22","slug":"spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc\/","title":{"rendered":"Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc &#8211; Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc"},"content":{"rendered":"<p>Spring Controller\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306f\u3001@Component\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u7279\u6b8a\u5316\u3067\u3059\u3002Spring Controller\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u901a\u5e38\u3001RequestMapping\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306b\u57fa\u3065\u3044\u305f\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u4ed8\u304d\u306e\u30cf\u30f3\u30c9\u30e9\u30fc\u30e1\u30bd\u30c3\u30c9\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u6625\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc<\/h2>\n<p>Spring Controller\u306e\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u30af\u30e9\u30b9\u306b\u306e\u307f\u9069\u7528\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306f\u30af\u30e9\u30b9\u3092\u30a6\u30a7\u30d6\u30ea\u30af\u30a8\u30b9\u30c8\u30cf\u30f3\u30c9\u30e9\u3068\u3057\u3066\u30de\u30fc\u30af\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u4e3b\u306bSpring MVC\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u6625\u306eRestController<\/h2>\n<p>Spring\u306e@RestController\u306f\u3001\u305d\u308c\u81ea\u4f53\u304c@Controller\u3068@ResponseBody\u3067\u6ce8\u91c8\u304c\u4ed8\u3051\u3089\u308c\u305f\u4fbf\u5229\u306a\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u3053\u306e\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306f\u3001RESTful\u30a6\u30a7\u30d6\u30b5\u30fc\u30d3\u30b9\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u30cf\u30f3\u30c9\u30e9\u3068\u3057\u3066\u306e\u30af\u30e9\u30b9\u3092\u793a\u3059\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u6625\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306e\u4f8b<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/6564836cdaa94e2bdf7b9fe6\/6-0.png\" alt=\"Spring Controller Example Project\" \/><\/div>\n<pre class=\"post-pre\"><code>&lt;dependency&gt;\r\n\t&lt;groupId&gt;org.springframework&lt;\/groupId&gt;\r\n\t&lt;artifactId&gt;spring-webmvc&lt;\/artifactId&gt;\r\n\t&lt;version&gt;5.0.7.RELEASE&lt;\/version&gt;\r\n&lt;\/dependency&gt;\r\n&lt;dependency&gt;\r\n\t&lt;groupId&gt;org.springframework&lt;\/groupId&gt;\r\n\t&lt;artifactId&gt;spring-web&lt;\/artifactId&gt;\r\n\t&lt;version&gt;5.0.7.RELEASE&lt;\/version&gt;\r\n&lt;\/dependency&gt;\r\n\r\n&lt;!-- Jackson for REST --&gt;\r\n&lt;dependency&gt;\r\n\t&lt;groupId&gt;com.fasterxml.jackson.core&lt;\/groupId&gt;\r\n\t&lt;artifactId&gt;jackson-databind&lt;\/artifactId&gt;\r\n\t&lt;version&gt;2.9.6&lt;\/version&gt;\r\n&lt;\/dependency&gt;\r\n<\/code><\/pre>\n<p>\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u30c7\u30a3\u30b9\u30af\u30ea\u30d7\u30bf\uff08web.xml\uff09\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u305d\u3053\u3067\u3001\u30d5\u30ed\u30f3\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3068\u3057\u3066DispatcherServlet\u30b5\u30fc\u30d6\u30ec\u30c3\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\r\n&lt;web-app xmlns:xsi=\"https:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns=\"https:\/\/xmlns.jcp.org\/xml\/ns\/javaee\" \r\n xsi:schemaLocation=\"https:\/\/xmlns.jcp.org\/xml\/ns\/javaee https:\/\/xmlns.jcp.org\/xml\/ns\/javaee\/web-app_3_1.xsd\" id=\"WebApp_ID\" version=\"3.1\"&gt;\r\n  &lt;display-name&gt;Spring-Controller&lt;\/display-name&gt;\r\n  &lt;!-- Add Spring MVC DispatcherServlet as front controller --&gt;\r\n\t&lt;servlet&gt;\r\n        &lt;servlet-name&gt;spring&lt;\/servlet-name&gt;\r\n        &lt;servlet-class&gt;\r\n                org.springframework.web.servlet.DispatcherServlet\r\n        &lt;\/servlet-class&gt;\r\n        &lt;init-param&gt;\r\n       \t\t&lt;param-name&gt;contextConfigLocation&lt;\/param-name&gt;\r\n       \t\t&lt;param-value&gt;\/WEB-INF\/spring-servlet.xml&lt;\/param-value&gt;\r\n    \t\t&lt;\/init-param&gt;\r\n        &lt;load-on-startup&gt;1&lt;\/load-on-startup&gt;\r\n    &lt;\/servlet&gt;\r\n \r\n    &lt;servlet-mapping&gt;\r\n        &lt;servlet-name&gt;spring&lt;\/servlet-name&gt;\r\n        &lt;url-pattern&gt;\/&lt;\/url-pattern&gt; \r\n    &lt;\/servlet-mapping&gt;\r\n&lt;\/web-app&gt;\r\n<\/code><\/pre>\n<p>\u6700\u5f8c\u306b\u3001\u79c1\u305f\u3061\u306f\u6b21\u306e\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u79c1\u305f\u3061\u306f\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u30d9\u30fc\u30b9\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u3001\u30b9\u30d7\u30ea\u30f3\u30b0\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30b9\u30ad\u30e3\u30f3\u3059\u308b\u305f\u3081\u306e\u30eb\u30fc\u30c8\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001InternalResourceViewResolver\u30d3\u30fc\u30f3\u3092\u8a2d\u5b9a\u3057\u3001\u30d3\u30e5\u30fc\u30da\u30fc\u30b8\u306e\u8a73\u7d30\u3082\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\r\n&lt;beans:beans xmlns=\"https:\/\/www.springframework.org\/schema\/mvc\"\r\n\txmlns:xsi=\"https:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:beans=\"https:\/\/www.springframework.org\/schema\/beans\"\r\n\txmlns:context=\"https:\/\/www.springframework.org\/schema\/context\"\r\n\txsi:schemaLocation=\"https:\/\/www.springframework.org\/schema\/mvc https:\/\/www.springframework.org\/schema\/mvc\/spring-mvc.xsd\r\n\t\thttps:\/\/www.springframework.org\/schema\/beans https:\/\/www.springframework.org\/schema\/beans\/spring-beans.xsd\r\n\t\thttps:\/\/www.springframework.org\/schema\/context https:\/\/www.springframework.org\/schema\/context\/spring-context.xsd\"&gt;\r\n\r\n\t&lt;!-- Enables the Spring MVC @Controller programming model --&gt;\r\n\t&lt;annotation-driven \/&gt;\r\n\r\n\t&lt;context:component-scan base-package=\"com.scdev.spring\" \/&gt;\r\n\r\n\t&lt;!-- Resolves views selected for rendering by @Controllers to JSP resources \r\n\t\tin the \/WEB-INF\/views directory --&gt;\r\n\t&lt;beans:bean\r\n\t\tclass=\"org.springframework.web.servlet.view.InternalResourceViewResolver\"&gt;\r\n\t\t&lt;beans:property name=\"prefix\" value=\"\/WEB-INF\/views\/\" \/&gt;\r\n\t\t&lt;beans:property name=\"suffix\" value=\".jsp\" \/&gt;\r\n\t&lt;\/beans:bean&gt;\r\n\r\n&lt;\/beans:beans&gt;\r\n<\/code><\/pre>\n<p>\u79c1\u305f\u3061\u306e\u8a2d\u5b9aXML\u30d5\u30a1\u30a4\u30eb\u306f\u6e96\u5099\u5b8c\u4e86\u3067\u3059\u306e\u3067\u3001\u6b21\u306f\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u30af\u30e9\u30b9\u306b\u9032\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.spring.controller;\r\n\r\nimport java.text.DateFormat;\r\nimport java.util.Date;\r\nimport java.util.Locale;\r\n\r\nimport org.springframework.stereotype.Controller;\r\nimport org.springframework.ui.Model;\r\nimport org.springframework.web.bind.annotation.GetMapping;\r\n\r\n@Controller\r\npublic class HomeController {\r\n\r\n\t@GetMapping(\"\/hello\")\r\n\tpublic String home(Locale locale, Model model) {\r\n\t\tDate date = new Date();\r\n\t\tDateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG, locale);\r\n\t\tString formattedDate = dateFormat.format(date);\r\n\t\tmodel.addAttribute(\"serverTime\", formattedDate);\r\n\t\treturn \"home\";\r\n\t}\r\n\r\n}\r\n<\/code><\/pre>\n<p>\u79c1\u305f\u3061\u306f\u3001\u5358\u4e00\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u30cf\u30f3\u30c9\u30e9\u30fc\u30e1\u30bd\u30c3\u30c9\u3092\u5b9a\u7fa9\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u3001GET\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u53d6\u308a\u3001URI\u304c\u300c\/hello\u300d\u3067\u3042\u308b\u5834\u5408\u306b\u300chome.jsp\u300d\u30da\u30fc\u30b8\u3092\u30ec\u30b9\u30dd\u30f3\u30b9\u3068\u3057\u3066\u8fd4\u3057\u307e\u3059\u3002\u306a\u304a\u3001\u30e2\u30c7\u30eb\u306b\u5c5e\u6027\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u308a\u3001\u3053\u308c\u306fhome.jsp\u30da\u30fc\u30b8\u3067\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u6b21\u306b\u3001\u79c1\u305f\u3061\u306e\u30b7\u30f3\u30d7\u30eb\u306ahome.jsp\u30da\u30fc\u30b8\u306e\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;%@ page language=\"java\" contentType=\"text\/html; charset=UTF-8\"\r\n\tpageEncoding=\"UTF-8\"%&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;title&gt;Home&lt;\/title&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n\t&lt;h1&gt;Hello world!&lt;\/h1&gt;\r\n\r\n\t&lt;p&gt;The time on the server is ${serverTime}.&lt;\/p&gt;\r\n\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<h2>Spring MVC \u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u30c6\u30b9\u30c8<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/6564836cdaa94e2bdf7b9fe6\/17-0.png\" alt=\"Spring Controller Example\" \/><\/div>\n<h2>Spring\u306eRestController\u306e\u4f8b<\/h2>\n<p>\u3055\u3042\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u62e1\u5f35\u3057\u3066REST API\u3082\u516c\u958b\u3057\u307e\u3057\u3087\u3046\u3002JSON\u30ec\u30b9\u30dd\u30f3\u30b9\u3068\u3057\u3066\u9001\u4fe1\u3055\u308c\u308b\u30e2\u30c7\u30eb\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.spring.model;\r\n\r\npublic class Person {\r\n\r\n\tprivate String name;\r\n\r\n\tpublic String getName() {\r\n\t\treturn name;\r\n\t}\r\n\r\n\tpublic void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}\r\n\t\r\n}\r\n<\/code><\/pre>\n<p>\u3053\u3061\u3089\u306f\u30b7\u30f3\u30d7\u30eb\u306aREST\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u30af\u30e9\u30b9\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.spring.controller;\r\n\r\nimport org.springframework.web.bind.annotation.RequestMapping;\r\nimport org.springframework.web.bind.annotation.RequestParam;\r\nimport org.springframework.web.bind.annotation.RestController;\r\n\r\nimport com.scdev.spring.model.Person;\r\n\r\n@RestController\r\npublic class PersonRESTController {\r\n\r\n\t@RequestMapping(\"\/rest\")\r\n\tpublic String healthCheck() {\r\n\t\treturn \"OK\";\r\n\t}\r\n\r\n\t@RequestMapping(\"\/rest\/person\/get\")\r\n\tpublic Person getPerson(@RequestParam(name = \"name\", required = false, defaultValue = \"Unknown\") String name) {\r\n\t\tPerson person = new Person();\r\n\t\tperson.setName(name);\r\n\t\treturn person;\r\n\t}\r\n\r\n}\r\n<\/code><\/pre>\n<p>\u79c1\u305f\u3061\u306eREST API\u3092\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u518d\u5c55\u958b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u300cSpring\u306eREST\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u30c6\u30b9\u30c8\u300d<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/6564836cdaa94e2bdf7b9fe6\/25-2.png\" alt=\"Spring REST Controller Example\" \/><\/div>\n<h2>\u8981\u7d04<\/h2>\n<p>Spring Controller\u306fSpring MVC\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u80cc\u9aa8\u3067\u3059\u3002\u3053\u3053\u306b\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u304c\u59cb\u307e\u308a\u307e\u3059\u3002\u3055\u3089\u306b\u3001RestController\u306f\u7c21\u5358\u306b\u30ec\u30b9\u30c8\u30d9\u30fc\u30b9\u306eWeb\u30b5\u30fc\u30d3\u30b9\u3092\u4f5c\u6210\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<p>\u5f0a\u793e\u306eGitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u3001\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30b3\u30fc\u30c9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spring Controller\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306f\u3001@Component\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u7279\u6b8a\u5316\u3067\u3059\u3002Spring Controller\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u901a\u5e38\u3001RequestMapping\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306b\u57fa\u3065\u3044\u305f\u30a2\u30ce\u30c6\u30fc\u30b7 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,61],"class_list":["post-288","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-26","tag-61"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc-spring-mvc\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\" \/>\n<meta property=\"og:description\" content=\"Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc-spring-mvc\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-30T06:44:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T13:21:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/6564836cdaa94e2bdf7b9fe6\/6-0.png\" \/>\n<meta name=\"author\" content=\"\u7dbe\u4e43, \u4e00\u5e0c\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u7dbe\u4e43, \u4e00\u5e0c\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"14\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc\/\",\"name\":\"Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-09-30T06:44:29+00:00\",\"dateModified\":\"2025-07-31T13:21:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff\"},\"description\":\"Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc &#8211; Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff\",\"name\":\"\u7dbe\u4e43, \u4e00\u5e0c\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g\",\"caption\":\"\u7dbe\u4e43, \u4e00\u5e0c\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/ayanokazuki\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Blog - Silicon Cloud","description":"Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc-spring-mvc\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\/","og_locale":"ja_JP","og_type":"article","og_title":"Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc","og_description":"Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc-spring-mvc\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-09-30T06:44:29+00:00","article_modified_time":"2025-07-31T13:21:22+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/6564836cdaa94e2bdf7b9fe6\/6-0.png"}],"author":"\u7dbe\u4e43, \u4e00\u5e0c","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u7dbe\u4e43, \u4e00\u5e0c","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"14\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc\/","name":"Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-09-30T06:44:29+00:00","dateModified":"2025-07-31T13:21:22+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff"},"description":"Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc - Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Spring\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc &#8211; Spring MVC\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff","name":"\u7dbe\u4e43, \u4e00\u5e0c","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g","caption":"\u7dbe\u4e43, \u4e00\u5e0c"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/ayanokazuki\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/spring%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc-spring-mvc%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=288"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/288\/revisions"}],"predecessor-version":[{"id":38697,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/288\/revisions\/38697"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}