<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmd45</author_name>
  <author_url>https://blog.hatena.ne.jp/tmd45/</author_url>
  <blog_title>TMD45'β'LOG!!!</blog_title>
  <blog_url>https://blog.betaful.life/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>Tomcat</anon>
    <anon>Servlet</anon>
    <anon>proxy</anon>
  </categories>
  <description>apache-tomcat-5.5.15, Java EE 5, Eclipse, WindowsXPいいタイトルが思いつかなかった･･･(´・ω・｀)localhost:8080 で動作させている AP サーバ（Tomcat）上の Java アプリにおいて HttpServletRequest.getServerName() で取得できるホスト名（サーバ名）を localhost 以外にしたかったのです。それで前の記事に書いたバーチャルホストの設定をやったのだけど、いくらバーチャルホストを増設しても、HttpServletRequest.getServerName() で取得できるサーバ名は…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.betaful.life%2Fentry%2F2012%2F06%2F26%2F155025&quot; title=&quot;Tomcat で動く Java Servlet アプリ内から「自身以外のサーバ名」を取得したい - TMD45&amp;#39;β&amp;#39;LOG!!!&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>2012-06-26 15:50:25</published>
  <title>Tomcat で動く Java Servlet アプリ内から「自身以外のサーバ名」を取得したい</title>
  <type>rich</type>
  <url>https://blog.betaful.life/entry/2012/06/26/155025</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
