<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a4dosanddos</author_name>
  <author_url>https://blog.hatena.ne.jp/a4dosanddos/</author_url>
  <blog_title>プログラム日記</blog_title>
  <blog_url>https://a4dosanddos.hatenablog.com/</blog_url>
  <categories>
    <anon>Spring</anon>
  </categories>
  <description>サーブレット内で @Autowired を使ってインジェクションしようと思ったんですが、なかなかはまったのでメモしておきます ( ただ、方法は見つかったんですが、最後まで理解できませんでした )。最初は、以下みたいな感じで web.xml に ContextLoaderListener の設定して、サーブレット内で @Autowired するだけでいけるんかなと思ってました。■ web.xml ( 抜粋 ) &lt;context-param&gt; &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt; &lt;param-value&gt;/WEB-INF/applicati…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa4dosanddos.hatenablog.com%2Fentry%2F2015%2F04%2F04%2F014657&quot; title=&quot; 「Spring」サーブレット内で @Autowired を使ってインジェクションする - プログラム日記&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-04-04 01:46:57</published>
  <title> 「Spring」サーブレット内で @Autowired を使ってインジェクションする</title>
  <type>rich</type>
  <url>https://a4dosanddos.hatenablog.com/entry/2015/04/04/014657</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
