<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>worar</author_name>
  <author_url>https://blog.hatena.ne.jp/worar/</author_url>
  <blog_title>worarの日記</blog_title>
  <blog_url>https://worar.hatenadiary.org/</blog_url>
  <categories>
    <anon>SAStruts</anon>
    <anon>Java</anon>
  </categories>
  <description>SAStrutsで２重更新を防止する一番簡単な方法は、トークンを使う方法ですね。 やはり、色々な所で必要になる機能なのでインターセプターで処理したい所です。 実装方法は、最終的には下記のサイトのまるパクリになりました。http://d.hatena.ne.jp/kuwalab/20080217/1203253826以下は最初に自前で実装した時に少し躓いたのでメモ。 上記サイトの方法では、Interceptor内でrequestをコンテナから取得するようにしていますが、僕が最初に実装しようとした時はDIで取得するようにしていました。 しかし、DIの方法だと何故かisTokenValidを実行した…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fworar.hatenadiary.org%2Fentry%2F20110803%2F1312377520&quot; title=&quot;インターセプターでトークンを管理する - worarの日記&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>2011-08-03 22:18:40</published>
  <title>インターセプターでトークンを管理する</title>
  <type>rich</type>
  <url>https://worar.hatenadiary.org/entry/20110803/1312377520</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
