{"id":2425,"date":"2020-12-05T16:01:30","date_gmt":"2020-12-05T07:01:30","guid":{"rendered":"https:\/\/loglog.xyz\/?p=2425"},"modified":"2021-04-17T08:18:31","modified_gmt":"2021-04-16T23:18:31","slug":"create_add_view","status":"publish","type":"post","link":"https:\/\/loglog.xyz\/programming\/create_add_view","title":{"rendered":"\u3010SpringBoot\u5165\u9580\u3011#5~ \u767b\u9332\u753b\u9762\u306e\u4f5c\u6210"},"content":{"rendered":"<h2>\u6982\u8981<\/h2>\n<p>\u5171\u901a\u30d8\u30c3\u30c0\u30fc\u306e\u300c\u65b0\u898f\u767b\u9332\u300d\u30ea\u30f3\u30af\u304b\u3089\u9077\u79fb\u3059\u308b\u3001\u66f8\u7c4d\u60c5\u5831\u767b\u9332\u753b\u9762\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u9077\u79fb\u3067\u304d\u308b\u3088\u3046\u306bController\u306e\u4f5c\u6210\u3068\u3001\u9077\u79fb\u5148\u3067\u3042\u308b\u753b\u9762\u3092HTML\u3067\u4f5c\u6210\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u3000<\/p>\n<h2>Form\u30af\u30e9\u30b9\u306e\u4f5c\u6210<\/h2>\n<p>\u767b\u9332\u753b\u9762\u306e\u9805\u76ee\u3092View\u3068Controller\u9593\u3067\u53d7\u3051\u6e21\u3059\u305f\u3081\u306eForm\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u3000\u914d\u7f6e\u5148\uff1asrc > main > java > com > example > demo > controller > form > BookForm.java<\/p>\n<pre class=\"lang:java decode:true \" >package com.example.demo.controller.form;\r\n\r\nimport java.text.SimpleDateFormat;\r\nimport java.util.Date;\r\nimport lombok.Data;\r\n\r\n@Data\r\npublic class BookForm {\r\n\tprivate int id;\r\n\tprivate String name;\r\n\tprivate String isbn;\r\n\tprivate String description;\r\n\tprivate String publisher;\r\n\tprivate Integer price;\r\n\tprivate Date publication_date;\r\n\tprivate int version;\r\n}\r\n<\/pre>\n<p>\u30fb@Data<br \/>\n\u3000Lombok\u306e\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u3001Getter\/Setter\u3092\u5229\u7528\u53ef\u80fd\u306b\u3057\u3066\u304f\u308c\u308b\u3002<br \/>\n\u3000\u3064\u307e\u308a\u3001getId()\u3084\u3001setId(int id)\u306a\u3069\u3092\u66f8\u304b\u306a\u304f\u3066\u3082\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3000<\/p>\n<h2>Controller\u306e\u4f5c\u6210<\/h2>\n<p>\u30fbBookController.java\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u3000\u914d\u7f6e\u5148\uff1asrc > main > java > com > example > demo > controller > BookController.java<\/p>\n<p>\u30fb\u30b3\u30fc\u30c9\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \" >package com.example.demo.controller;\r\n\r\nimport org.springframework.stereotype.Controller;\r\nimport org.springframework.web.bind.annotation.GetMapping;\r\nimport com.example.demo.controller.form.BookForm;\r\n\r\n@Controller\r\npublic class BookContorller {\r\n\t@GetMapping(\"book\/add\")\r\n\tpublic String getAdd(BookForm form, Model model) {\r\n\t\tmodel.addAttribute(\"bookForm\", form);\r\n\t\treturn \"book\/add\";\r\n\t}\r\n}<\/pre>\n<p>\u30fb@Controller<br \/>\n\u3000\u30af\u30e9\u30b9\u3092Controller\u3068\u3057\u3066\u8a8d\u8b58\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002<br \/>\n\u3000Controller\u3068\u3057\u305f\u3044\u30af\u30e9\u30b9\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u30fb@GetMapping(&#8220;book\/add&#8221;)<br \/>\n\u3000\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u53d6\u308b\u6307\u5b9a\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3000@GetMapping\u3067Get\u30e1\u30bd\u30c3\u30c9\u3067\u3042\u308b\u3053\u3068\u3001<br \/>\n\u3000(&#8220;book\/add&#8221;)\u3067\u30c9\u30e1\u30a4\u30f3\u4ee5\u4e0b\u306eURL\u304c\u300cbook\/add\u300d\u3067\u3042\u308b\u3053\u3068\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30fbmodel.addAttribute(&#8220;bookForm&#8221;, form);<br \/>\n\u3000\u9077\u79fb\u3059\u308bView\u306e\u300cbookForm\u300d\u306b\u300cform\u300d\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6e21\u3057\u307e\u3059\u3002<\/p>\n<p>\u30fbreturn &#8220;book\/add&#8221;;<br \/>\n\u3000\u9077\u79fb\u3059\u308b\u753b\u9762\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\u3000\u3053\u3053\u3067\u306f\u300cbook\/add\u300d\u3068\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u4ee5\u4e0b\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3000\u6307\u5b9a\u5148\uff1asrc > main > resource > templates > book > add.html<br \/>\n\u3000<\/p>\n<h2>HTML\u306e\u4f5c\u6210<\/h2>\n<h3>form.html<\/h3>\n<p>\u30d5\u30a9\u30fc\u30e0\u306f\u767b\u9332\u753b\u9762\u3068\u66f4\u65b0\u753b\u9762\u3067\u5171\u901a\u306b\u4f7f\u3046\u90e8\u5206\u304c\u3042\u308b\u306e\u3067\u3001\u305d\u306e\u90e8\u5206\u306f\u5171\u901a\u30d5\u30a9\u30fc\u30e0\u3068\u3057\u3066\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:xhtml decode:true \" >&lt;!DOCTYPE html&gt;\r\n&lt;html xmlns:th=\"http:\/\/www.thymeleaf.org\"&gt;\r\n&lt;head&gt;\r\n&lt;meta charset=\"UTF-8\"&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n\t&lt;div th:fragment=\"form\"&gt;\r\n\t\t&lt;table&gt;\r\n\t\t\t&lt;tr&gt;\r\n\t\t\t\t&lt;td&gt;\u66f8\u7c4d\u540d&lt;\/td&gt;\r\n\t\t\t\t&lt;td&gt;&lt;input type=\"text\" name=\"name\" th:value=\"*{name}\"&gt;\r\n\t\t\t\t    &lt;span th:if=\"${#fields.hasErrors('name')}\" th:errors=\"*{name}\"&gt;&lt;\/span&gt;\r\n\t\t\t\t&lt;\/td&gt;\r\n\t\t\t&lt;\/tr&gt;\r\n\t\t\t&lt;tr&gt;\r\n\t\t\t\t&lt;td&gt;ISBN\u30b3\u30fc\u30c9&lt;\/td&gt;\r\n\t\t\t\t&lt;td&gt;&lt;input type=\"text\" name=\"isbn\" th:value=\"*{isbn}\"&gt;\r\n\t\t\t\t    &lt;span th:if=\"${#fields.hasErrors('isbn')}\" th:errors=\"*{isbn}\"&gt;&lt;\/span&gt;\r\n\t\t\t\t&lt;\/td&gt;\r\n\t\t\t&lt;\/tr&gt;\r\n\t\t\t&lt;tr&gt;&lt;td&gt;\u5185\u5bb9&lt;\/td&gt;&lt;td&gt;&lt;textarea cols=\"22\" rows=\"5\" name=\"description\" th:text=\"*{description}\"&gt;&lt;\/textarea&gt;&lt;\/td&gt;&lt;\/tr&gt;\r\n\t\t\t&lt;tr&gt;\r\n\t\t\t\t&lt;td&gt;\u51fa\u7248\u793e&lt;\/td&gt;\r\n\t\t\t\t&lt;td&gt;\r\n\t\t\t\t\t&lt;input type=\"text\" name=\"publisher\" th:value=\"*{publisher}\"&gt;\r\n\t\t\t\t\t&lt;span th:if=\"${#fields.hasErrors('publisher')}\" th:errors=\"*{publisher}\"&gt;&lt;\/span&gt;\r\n\t\t\t\t&lt;\/td&gt;\r\n\t\t\t&lt;\/tr&gt;\r\n\t\t\t&lt;tr&gt;\r\n\t\t\t\t&lt;td&gt;\u4fa1\u683c&lt;\/td&gt;\r\n\t\t\t\t&lt;td&gt;\r\n\t\t\t\t\t&lt;input type=\"number\" name=\"price\" th:value=\"*{price}\"&gt;\r\n\t\t\t\t\t&lt;span th:if=\"${#fields.hasErrors('price')}\" th:errors=\"*{price}\"&gt;&lt;\/span&gt;\r\n\t\t\t\t&lt;\/td&gt;\r\n\t\t\t&lt;\/tr&gt;\r\n\t\t\t&lt;tr&gt;\r\n\t\t\t\t&lt;td&gt;\u51fa\u7248\u5e74\u6708\u65e5&lt;\/td&gt;\r\n\t\t\t\t&lt;td&gt;\r\n\t\t\t\t\t&lt;input type=\"date\" name=\"publication_date\" th:value=\"${bookForm.publicationDateYmd()}\"&gt;\r\n\t\t\t\t\t&lt;span th:if=\"${#fields.hasErrors('publication_date')}\" th:errors=\"*{publication_date}\"&gt;&lt;\/span&gt;\r\n\t\t\t\t&lt;\/td&gt;\r\n\t\t\t&lt;\/tr&gt;\r\n\t\t&lt;\/table&gt;\r\n\t\t&lt;input type=\"hidden\" name=\"id\" th:value=\"*{id}\" &gt;\r\n\t\t&lt;span th:if=\"${#fields.hasErrors('id')}\" th:errors=\"*{id}\"&gt;&lt;\/span&gt;\r\n\t\t&lt;input type=\"hidden\" name=\"version\" th:value=\"*{version}\" &gt;\r\n\t&lt;\/div&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\u30fb&lt;html xmlns:th=&#8221;http:\/\/www.thymeleaf.org&#8221;&gt;<br \/>\n\u3000IDE\u304cth:*\u5c5e\u6027\u306e\u540d\u524d\u5b9a\u7fa9\u306b\u3064\u3044\u3066HTML5\u306e\u4ed5\u69d8\u3068\u3057\u3066\u6709\u52b9\u3067\u306a\u3044\u8b66\u544a\u3092\u767a\u3059\u308b\u3053\u3068\u3078\u306e\u5bfe\u5fdc\u3067\u3059\u3002<br \/>\n\u3000&lt;html&gt;\u3068\u3057\u3066\u3082\u52d5\u4f5c\u306b\u5f71\u97ff\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u8b66\u544a\u3092\u8868\u793a\u3055\u305b\u306a\u3044\u305f\u3081\u306b\u6307\u5b9a\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n\u3000\u5f15\u7528\u5143\uff1a<a href=\"https:\/\/www.thymeleaf.org\/doc\/tutorials\/3.0\/usingthymeleaf_ja.html#%E8%A4%87%E6%95%B0%E8%A8%80%E8%AA%9E%E3%81%A7%E3%82%A6%E3%82%A7%E3%83%AB%E3%82%AB%E3%83%A0\" rel=\"noopener noreferrer\" target=\"_blank\">3.1 \u8907\u6570\u8a00\u8a9e\u3067\u30a6\u30a7\u30eb\u30ab\u30e0<\/a><\/p>\n<p>\u30fbth:value<br \/>\n\u3000th:object\u3067\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u540d\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u305f\u5024\u304c\u4ee3\u5165\u3055\u308c\u307e\u3059\u3002<br \/>\n\u3000th:object\u306f\u3001\u4ee5\u964d\u306eadd.html\u3067\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<p>\u30fbth:if=&#8221;${#fields.hasErrors(&#8230;)}&#8221; th:errors=&#8221;*{&#8230;}&#8221;<br \/>\n\u3000\u6307\u5b9a\u3057\u305f\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u30a8\u30e9\u30fc\u304c\u3042\u308b\u5834\u5408\u306b\u3001\u30a8\u30e9\u30fc\u5185\u5bb9\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>\u30fbtype=&#8221;hidden&#8221;<br \/>\n\u3000id\u3001version\u5024\u306f\u753b\u9762\u3067\u64cd\u4f5c\u3059\u308b\u5024\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u5024\u3068\u3057\u3066\u5fc5\u8981\uff08\u66f4\u65b0\u6642\uff09\u306a\u306e\u3067\u30d5\u30a9\u30fc\u30e0\u306bhidden(\u975e\u8868\u793a)\u3067\u4fdd\u6301\u3055\u305b\u307e\u3059\u3002<br \/>\n\u3000\u767b\u9332\u6642\u306f\u4fdd\u6301\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u7a7a\u306e\u5024\u3092\u6301\u3063\u3066\u3044\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3000<\/p>\n<h3>add.html<\/h3>\n<p>\u767b\u9332\u753b\u9762\u56fa\u6709\u306e\u5b9a\u7fa9\u3068\u5171\u901a\u30d8\u30c3\u30c0\u30fc\uff0f\u5171\u901a\u30d5\u30a9\u30fc\u30e0\u306e\u57cb\u3081\u8fbc\u307f\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:xhtml decode:true \" >&lt;!DOCTYPE html&gt;\r\n&lt;html xmlns:th=\"http:\/\/www.thymeleaf.org\"&gt;\r\n&lt;head th:replace=\"header::head(~{::title})\"&gt;\r\n\t&lt;title&gt;\u66f8\u7c4d\u60c5\u5831\u767b\u9332&lt;\/title&gt;\r\n&lt;\/head&gt;\r\n\r\n&lt;body&gt;\r\n\t&lt;header th:replace=\"header::header\"&gt;&lt;\/header&gt;\r\n\t&lt;div&gt;\r\n\t\t&lt;form th:action=\"@{\/book\/create}\" th:object=\"${bookForm}\" method=\"post\"&gt;\r\n\t\t\t&lt;div th:insert=\"book\/form\"&gt;&lt;\/div&gt;\r\n\t\t\t&lt;button type=\"submit\"&gt;\u767b\u9332&lt;\/button&gt;\r\n\t\t&lt;\/form&gt;\r\n\t&lt;\/div&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\u30fb\u5171\u901a\u30d8\u30c3\u30c0\u30fc\u90e8\u306e\u57cb\u3081\u8fbc\u307f<br \/>\n\u3000- \u30bf\u30a4\u30c8\u30eb\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306b\u3001title\u30bf\u30b0\u306b\u300c\u66f8\u7c4d\u60c5\u5831\u767b\u9332\u300d\u3068\u3057\u307e\u3059\u3002<br \/>\n\u3000- \u5171\u901a\u30d8\u30c3\u30c0\u30fc\u306e\u30ea\u30f3\u30af\uff08header::header\uff09\u3092th:replace\u3067\u7f6e\u63db\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u30fb\u5171\u901a\u30d5\u30a9\u30fc\u30e0\u306e\u57cb\u3081\u8fbc\u307f<br \/>\n\u3000&lt;div th:insert=&#8221;book\/form&#8221;&gt;&lt;\/div&gt;<br \/>\n\u3000div\u30bf\u30b0\u5185\u306b\u633f\u5165(insert)\u3059\u308b\u5f62\u3067\u57cb\u3081\u8fbc\u307f\u307e\u3059\u3002<br \/>\n\u3000th:insert\u306e\u5834\u5408\u3001add.html\u306ediv\u306e\u4e2d\u306b\u57cb\u3081\u8fbc\u307e\u308c\u307e\u3059\u3002<br \/>\n\u3000\u5171\u901a\u30d8\u30c3\u30c0\u30fc\u3067\u306fth:replace\u3067\u3042\u308b\u305f\u3081\u3001add.html\u306eheader\u30bf\u30b0\u304cheader.html\u306eheader\u30bf\u30b0\u3067\u7f6e\u63db\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u30fbth:object<br \/>\n\u3000\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u304b\u3089\u30d5\u30a9\u30fc\u30e0\u4e0a\u306b\u6e21\u3055\u308c\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<br \/>\n\u3000\u767b\u9332\u753b\u9762\u306e\u521d\u671f\u8868\u793a\u306e\u5834\u5408\u3001\u5404\u30d5\u30a3\u30fc\u30eb\u30c9\u304cNULL\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u6e21\u3055\u308c\u308b\u305f\u3081\u7a7a\u6b04\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3000\u767b\u9332\u51e6\u7406\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u3001\u5165\u529b\u30c7\u30fc\u30bf\u3092\u753b\u9762\u306b\u518d\u8868\u793a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3000\u307e\u305f\u3001\u4eca\u5f8c\u4f5c\u6210\u3059\u308b\u66f4\u65b0\u753b\u9762\u3067\u3042\u308c\u3070\u3001\u521d\u671f\u8868\u793a\u6642\u306b\u30c7\u30fc\u30bf\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3000<\/p>\n<h2>\u52d5\u4f5c\u78ba\u8a8d<\/h2>\n<p>index\u753b\u9762\u306e\u300c\u65b0\u898f\u767b\u9332\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u300chttp:\/\/localhost:8080\/book\/add\u300d\u306b\u9077\u79fb\u3057\u307e\u3059\u3002<br \/>\n<img alt='' class='alignnone size-full wp-image-2428 ' src='https:\/\/loglog.xyz\/wp-content\/uploads\/2020\/12\/img_5fcb23cbd7db9.png' \/><br \/>\n\u4ee5\u4e0b\u304c\u78ba\u8a8d\u3067\u304d\u308c\u3070OK\u3067\u3059\u3002<br \/>\n\u30fbtitle\u304c\u300c\u66f8\u7c4d\u60c5\u5831\u767b\u9332\u300d\u3068\u306a\u3063\u3066\u3044\u308b\u3053\u3068<br \/>\n\u30fb\u5171\u901a\u30d8\u30c3\u30c0\u30fc\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3053\u3068<br \/>\n\u30fb\u5171\u901a\u30d5\u30a9\u30fc\u30e0\uff08\u66f8\u7c4d\u540d\u306a\u3069\uff09\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3053\u3068<br \/>\n\u30fb\u767b\u9332\u30dc\u30bf\u30f3\u304c\u914d\u7f6e\u3055\u308c\u3066\u3044\u308b\u3053\u3068<\/p>\n<p>\u3000<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u30fb\u753b\u9762\u3068Controller\u9593\u3067\u306e\u5024\u306e\u53d7\u3051\u6e21\u3057\u306bForm\u3092\u5229\u7528\u3059\u308b\u3002<br \/>\n\u30fbController\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u30af\u30e9\u30b9\u306b\u306f\u3001@Controller\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u308b\u3002<br \/>\n\u30fb\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u3067\u306b\u304a\u3044\u3066\u3001Get\u30e1\u30bd\u30c3\u30c9\u3067\u3042\u308c\u3070@GetMapping\u3068\u3057\u3001URL\u306f\u30ab\u30c3\u30b3\u5185\u306b\u6307\u5b9a\u3059\u308b\u3002<br \/>\n\u30fb\u9077\u79fb\u5148\u306ftemplates\u914d\u4e0b\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u6307\u5b9a\u3059\u308b\uff08book\/add\u306a\u3069\uff09\u3002<br \/>\n\u30fb\u767b\u9332\u753b\u9762\u3068\u66f4\u65b0\u753b\u9762\u3067\u30d5\u30a9\u30fc\u30e0\u304c\u5171\u901a\u3067\u3042\u308b\u5834\u5408\u306f\u90e8\u54c1\u5316\u3057\u3066\u304a\u304f\u3068\u3088\u3044\u3002<br \/>\n\u30fbthymeleaf\u306eth:\u5c5e\u6027\u3067\u53d7\u3051\u53d6\u3063\u305f\u5024\u306b\u5bfe\u3059\u308b\u64cd\u4f5c\u304c\u53ef\u80fd\u306b\u306a\u308b\u3002<\/p>\n<p>\u6b21\u56de\u306f\u767b\u9332\u51e6\u7406\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 \u5171\u901a\u30d8\u30c3\u30c0\u30fc\u306e\u300c\u65b0\u898f\u767b\u9332\u300d\u30ea\u30f3\u30af\u304b\u3089\u9077\u79fb\u3059\u308b\u3001\u66f8\u7c4d\u60c5\u5831\u767b\u9332\u753b\u9762\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 \u9077\u79fb\u3067\u304d\u308b\u3088\u3046\u306bController\u306e\u4f5c\u6210\u3068\u3001\u9077\u79fb\u5148\u3067\u3042\u308b\u753b\u9762\u3092HTML\u3067\u4f5c\u6210\u3057\u3066\u3044\u304d\u307e\u3059\u3002 \u3000 Form\u30af\u30e9\u30b9\u306e\u4f5c\u6210 \u767b\u9332\u753b\u9762\u306e\u9805\u76ee\u3092 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2255,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"{\"3a0ddb8a\":{\"pv\":551,\"imp\":314}}","footnotes":""},"categories":[2],"tags":[95,151],"class_list":["post-2425","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming","tag-spring","tag-thymeleaf"],"_links":{"self":[{"href":"https:\/\/loglog.xyz\/wp-json\/wp\/v2\/posts\/2425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/loglog.xyz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/loglog.xyz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/loglog.xyz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/loglog.xyz\/wp-json\/wp\/v2\/comments?post=2425"}],"version-history":[{"count":7,"href":"https:\/\/loglog.xyz\/wp-json\/wp\/v2\/posts\/2425\/revisions"}],"predecessor-version":[{"id":2734,"href":"https:\/\/loglog.xyz\/wp-json\/wp\/v2\/posts\/2425\/revisions\/2734"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/loglog.xyz\/wp-json\/wp\/v2\/media\/2255"}],"wp:attachment":[{"href":"https:\/\/loglog.xyz\/wp-json\/wp\/v2\/media?parent=2425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/loglog.xyz\/wp-json\/wp\/v2\/categories?post=2425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/loglog.xyz\/wp-json\/wp\/v2\/tags?post=2425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}