<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>huruyosi</author_name>
  <author_url>https://blog.hatena.ne.jp/huruyosi/</author_url>
  <blog_title>huruyosi’s blog</blog_title>
  <blog_url>https://huruyosi.hatenablog.com/</blog_url>
  <categories>
    <anon>spring boot</anon>
    <anon>java</anon>
  </categories>
  <description>素のservletで開発を行っている頃は当たり前の様に設定していたcontext-pathを spring boot MVC で設定します。 設定方法 application.yml 設定は application.yml に「server.contextPath」を設定します。 server: contextPath: /hogeApp コントローラー @RequestMappingアノテーションのvalues値は context-pathを除いた値を設定します。たとえば context-path を 含んだURLが 「/hogeApp/report/project」にするのであれば、@Re…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhuruyosi.hatenablog.com%2Fentry%2Fspringboot%25E3%2581%25A7context_path&quot; title=&quot;spring boot で context-pathを設定する - huruyosi’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-12-27 12:58:47</published>
  <title>spring boot で context-pathを設定する</title>
  <type>rich</type>
  <url>https://huruyosi.hatenablog.com/entry/springboot%E3%81%A7context_path</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
