<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gekimu</author_name>
  <author_url>https://blog.hatena.ne.jp/gekimu/</author_url>
  <blog_title>激務SEの日記</blog_title>
  <blog_url>https://gekimu.hatenadiary.org/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>この２つのメソッドの違いを整理。理解していないことが原因で、はまったことがあったので。 getAttribute リクエストから属性を取得するときに使用。Servlet - JSP間で値を受け渡すときに主に使用。Tomcatなどのコンテナに値がセットされるという感じかな。 getParameter Formの情報を取得するときに使用。POSTで送られたテキストボックスの値や、GETでのURLに付与された値を取得するときに使用。 Strutsとかフレームワーク使っていると利用する機会がない。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgekimu.hatenadiary.org%2Fentry%2F20070108%2F1168266769&quot; title=&quot;ServletRequest getAttributeとgetParameterの違い - 激務SEの日記&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>2007-01-08 23:32:49</published>
  <title>ServletRequest getAttributeとgetParameterの違い</title>
  <type>rich</type>
  <url>https://gekimu.hatenadiary.org/entry/20070108/1168266769</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
