<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6080773683491496251</id><updated>2024-09-01T15:16:46.267+09:00</updated><category term="java"/><category term="Linux全般、勉強"/><category term="Linux Ubuntu"/><category term="jsf2"/><category term="Android"/><category term="Linux Ubuntu Zend"/><category term="glassfish"/><category term=".htaccess"/><category term="BASIC認証"/><category term="Chrome"/><category term="JavaScript JQuery"/><category term="Linux CentOS"/><category term="Linux さくらインターネット Zend"/><category term="MySQL"/><category term="OCJ-P"/><category term="SEO"/><category term="acer Iconia"/><category term="eclipse"/><category term="jpa2.0"/><category term="linux"/><category term="pdt"/><category term="php"/><category term="python ubuntu10.04"/><category term="taglib"/><category term="tomcat"/><category term="twitter"/><category term="ubuntu"/><category term="ダイナミックDNS サーバ構築"/><category term="ブログ Google"/><category term="数学"/><category term="知識"/><title type='text'>lab.</title><subtitle type='html'>フリーのプログラマとしての日々思うこと、技術関連、ライフスタイルについて</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>44</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-1324668315126587379</id><published>2015-07-15T02:19:00.000+09:00</published><updated>2015-07-15T02:21:38.619+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="acer Iconia"/><title type='text'>acer Iconia W700-2 windows8.1アップグレード時の不具合と対応について</title><content type='html'>&lt;br /&gt;
acerのタブレットである「acer Iconia W700-2」 を&lt;br /&gt;
windows8.1アップグレード後、極端に動作が重くなる。&lt;br /&gt;
しかもバッテリ駆動時のみ。。&lt;br /&gt;
&lt;br /&gt;
以下手順を実施することで解消しました。&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #595a4e; font-family: Verdana, &#39;ＭＳ Ｐゴシック&#39;, sans-serif; font-size: x-small; line-height: 20px;&quot;&gt;コントロールパネル→電源オプション→バランス（推奨）のプラン設定変更→詳細な電源設定の変更→Intel(R) Dynamic Platform and Thermal Framework Setting→Low Power Mode Setting→「バッテリ駆動」「電源に接続」を両方ともDisable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #595a4e; font-family: Verdana, &#39;ＭＳ Ｐゴシック&#39;, sans-serif; font-size: x-small; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY1_qwCRX6cFLCjUwZ3Y-zR3FetsN7oE_CsLvRXAj_pIFC4_hoHIZFLDRUfdv0d3kXK1zhU2JhymQs1W2CTApI0EstPDkTDjkFCKvE2nlKMSKdMj4SOOQKwe3B-wcuoIc6zwaSiQrXzgo/s1600/%25E7%2584%25A1%25E9%25A1%258C.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY1_qwCRX6cFLCjUwZ3Y-zR3FetsN7oE_CsLvRXAj_pIFC4_hoHIZFLDRUfdv0d3kXK1zhU2JhymQs1W2CTApI0EstPDkTDjkFCKvE2nlKMSKdMj4SOOQKwe3B-wcuoIc6zwaSiQrXzgo/s320/%25E7%2584%25A1%25E9%25A1%258C.png&quot; width=&quot;298&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #595a4e; font-family: Verdana, &#39;ＭＳ Ｐゴシック&#39;, sans-serif; font-size: x-small; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #595a4e; font-family: Verdana, &#39;ＭＳ Ｐゴシック&#39;, sans-serif; font-size: x-small; line-height: 20px;&quot;&gt;参考サイト：&lt;/span&gt;&lt;span style=&quot;color: #595a4e; font-family: Verdana, ＭＳ Ｐゴシック, sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;http://www.acer.co.jp/ac/ja/JP/content/model/NT.L0FSJ.007&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #595a4e; font-family: Verdana, ＭＳ Ｐゴシック, sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/1324668315126587379/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2015/07/acer-iconia-w700-2-windows81.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/1324668315126587379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/1324668315126587379'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2015/07/acer-iconia-w700-2-windows81.html' title='acer Iconia W700-2 windows8.1アップグレード時の不具合と対応について'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY1_qwCRX6cFLCjUwZ3Y-zR3FetsN7oE_CsLvRXAj_pIFC4_hoHIZFLDRUfdv0d3kXK1zhU2JhymQs1W2CTApI0EstPDkTDjkFCKvE2nlKMSKdMj4SOOQKwe3B-wcuoIc6zwaSiQrXzgo/s72-c/%25E7%2584%25A1%25E9%25A1%258C.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-5299918182297327169</id><published>2014-02-28T00:06:00.000+09:00</published><updated>2014-03-04T00:00:26.187+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="数学"/><title type='text'>中学数学にでてくる記号の意味</title><content type='html'>&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 327px;&quot;&gt;
 &lt;colgroup&gt;&lt;col span=&quot;2&quot; style=&quot;mso-width-alt: 1472; mso-width-source: userset; width: 35pt;&quot; width=&quot;46&quot;&gt;&lt;/col&gt;
 &lt;col style=&quot;mso-width-alt: 3744; mso-width-source: userset; width: 88pt;&quot; width=&quot;117&quot;&gt;&lt;/col&gt;
 &lt;col style=&quot;mso-width-alt: 3776; mso-width-source: userset; width: 89pt;&quot; width=&quot;118&quot;&gt;&lt;/col&gt;
 &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;
  &lt;td height=&quot;18&quot; style=&quot;height: 13.5pt; width: 35pt;&quot; width=&quot;46&quot;&gt;　&lt;/td&gt;
  &lt;td class=&quot;xl63&quot; style=&quot;width: 35pt;&quot; width=&quot;46&quot;&gt;記号&lt;/td&gt;
  &lt;td class=&quot;xl63&quot; style=&quot;width: 88pt;&quot; width=&quot;117&quot;&gt;意味&lt;/td&gt;
  &lt;td class=&quot;xl63&quot; style=&quot;width: 89pt;&quot; width=&quot;118&quot;&gt;読み&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;
  &lt;td class=&quot;xl63&quot; height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;面積&lt;/td&gt;
  &lt;td class=&quot;xl64&quot;&gt;S&lt;/td&gt;
  &lt;td&gt;square measure&lt;/td&gt;
  &lt;td&gt;スクエアメジャー&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;
  &lt;td class=&quot;xl63&quot; height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;体積&lt;/td&gt;
  &lt;td class=&quot;xl64&quot;&gt;V&lt;/td&gt;
  &lt;td&gt;volume&lt;/td&gt;
  &lt;td&gt;ボリューム&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;
  &lt;td class=&quot;xl63&quot; height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;円周&lt;/td&gt;
  &lt;td class=&quot;xl64&quot;&gt;L&lt;/td&gt;
  &lt;td&gt;lap&lt;/td&gt;
  &lt;td&gt;ラップ&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;
  &lt;td class=&quot;xl63&quot; height=&quot;18&quot; style=&quot;height: 13.5pt;&quot;&gt;半径&lt;/td&gt;
  &lt;td class=&quot;xl64&quot;&gt;R&lt;/td&gt;
  &lt;td&gt;radius&lt;/td&gt;
  &lt;td&gt;レイディアス&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/5299918182297327169/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2014/02/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/5299918182297327169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/5299918182297327169'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2014/02/blog-post.html' title='中学数学にでてくる記号の意味'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-7908514702316769582</id><published>2013-12-31T01:32:00.003+09:00</published><updated>2013-12-31T02:51:46.760+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="jpa2.0"/><title type='text'>【メモ】NoSuchMethodError in javax.persistence.Table.indexes()[Ljavax/persistence/Index</title><content type='html'>環境はjavaee6 + glassfish3.1系。&amp;nbsp;
&lt;br /&gt;
&lt;br /&gt;
persistence.xmlを読み込むあたりで以下のエラーが発生。&lt;br /&gt;
&lt;br /&gt;
「NoSuchMethodError in javax.persistence.Table.indexes()[Ljavax/persistence/Index」&lt;br /&gt;
&lt;br /&gt;
結論として

hibernate-entitymanagerのjarバージョンを&lt;br /&gt;
&lt;br /&gt;
4.3.0.CR2&lt;br /&gt;
↓&lt;br /&gt;
3.6.10.Final&lt;br /&gt;
&lt;br /&gt;
に変更したら治りました。&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;javaEE6はJPA2.0だから4系のバージョンは対応していなかったのかもしれない。


</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/7908514702316769582/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2013/12/nosuchmethoderror-in.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/7908514702316769582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/7908514702316769582'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2013/12/nosuchmethoderror-in.html' title='【メモ】NoSuchMethodError in javax.persistence.Table.indexes()[Ljavax/persistence/Index'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-2002311803642746648</id><published>2013-12-27T23:07:00.000+09:00</published><updated>2013-12-27T23:07:54.334+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="glassfish"/><category scheme="http://www.blogger.com/atom/ns#" term="jsf2"/><title type='text'>【JSF2】richfacesを動かしたかったのだが、、</title><content type='html'>下記のサイト様を参考にrichfacesを使ってみようと思いましたが、うまく行かず。。。。&lt;br /&gt;
&lt;a href=&quot;http://kikutaro777.hatenablog.com/entry/2013/07/07/233121&quot;&gt;http://kikutaro777.hatenablog.com/entry/2013/07/07/233121&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
環境は以下&lt;br /&gt;
・eclipse4.3 kepler&lt;br /&gt;
・glassfish3.1 または glassfish3.1.2.2 でも同様のエラーが発生。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cannot Deploy sample&lt;br /&gt;
deploy is failing=デプロイメント中にエラーが発生しました: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: org/atmosphere/cpr/AtmosphereServlet。詳細はserver.logを参照してください。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
primefacesは問題なく動作確認できたのですが、richfacesはうまくいきませんでした。&lt;br /&gt;
よくわかりません。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/2002311803642746648/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2013/12/jsf2richfaces.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/2002311803642746648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/2002311803642746648'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2013/12/jsf2richfaces.html' title='【JSF2】richfacesを動かしたかったのだが、、'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-8599155885295065541</id><published>2013-12-27T01:32:00.000+09:00</published><updated>2013-12-27T01:33:18.178+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="jsf2"/><title type='text'>【JSF2】デフォルトエラーメッセージを変更する。</title><content type='html'>jsf-apiのjarの中を除くとメッセージファイルがある。
デフォルトロケールがjaの場合、Messages_ja.propertiesが読み込まれている。&lt;br /&gt;
&amp;nbsp;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIRH0zhYiGHtnWUe3w5yDs8CJ4TtFXLTrjZGDM_lJ04qO2v1pjgCHBtMa8CFTsrsgdHoh2vGbVK8UFKX_BwNwUcVHtkAY-4MYoHmcAbrIC66WVfHFhyphenhyphenYX62Nb-xj21crayFyYxn9mcZrk/s1600/aaaaa001.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;331&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIRH0zhYiGHtnWUe3w5yDs8CJ4TtFXLTrjZGDM_lJ04qO2v1pjgCHBtMa8CFTsrsgdHoh2vGbVK8UFKX_BwNwUcVHtkAY-4MYoHmcAbrIC66WVfHFhyphenhyphenYX62Nb-xj21crayFyYxn9mcZrk/s640/aaaaa001.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
WEB-INF配下にclassesフォルダを作成し、その配下に
自作のメッセージプロパティファイルを作成する。
（ファイル名形式はxxxx_ja_JP.properties。xxxx_ja.propertiesでもいいみたい。）&lt;br /&gt;
&lt;br /&gt;
上書きしたいメッセージをプロパティに定義
　（以下のサンプルでは必須エラー時のデフォルトメッセージ（キー名：javax.faces.component.UIInput.REQUIRED）を変更してみた）&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh52MizbAtTiamZVnq5SAR0-tnOTHeumvAeMO98nZ-S9APgB3zIgfK1OCYvbYB5UdnlK1hU8YPz6NgCqyAaGhuQ1vWJSTRBptpIetoYzw7LfZbLb9VVUtKSKnbRmVHd3OWz0z6DCyD3pVY/s1600/aaaaa003.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;329&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh52MizbAtTiamZVnq5SAR0-tnOTHeumvAeMO98nZ-S9APgB3zIgfK1OCYvbYB5UdnlK1hU8YPz6NgCqyAaGhuQ1vWJSTRBptpIetoYzw7LfZbLb9VVUtKSKnbRmVHd3OWz0z6DCyD3pVY/s640/aaaaa003.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
faces-config.xmlに作成したメッセージファイルを定義する。

&lt;br /&gt;
&lt;script class=&quot;brush: xml&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;

&lt;faces-config xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot;
 xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
 xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd&quot;
 version=&quot;2.1&quot;&gt;
 &lt;application&gt;
  &lt;locale-config&gt;
   &lt;default-locale&gt;ja&lt;/default-locale&gt;
   &lt;supported-locale&gt;en&lt;/supported-locale&gt;
  &lt;/locale-config&gt;
  &lt;!-- 下記のメッセージバンドルタグに指定することで既存のjsp-apiのメッセージファイルを上書きする。 --&gt;
  &lt;message-bundle&gt;Messages&lt;/message-bundle&gt;
  &lt;!-- 下記のリソースバンドルタグに指定することで、EL式でメッセージ指定可能になる。 --&gt;
  &lt;resource-bundle&gt;
      &lt;!-- /WEB-INF/classes 配下からのパスを記述. --&gt;
      &lt;!-- ・ファイル名_ja_JP.properties --&gt;
   &lt;base-name&gt;Messages&lt;/base-name&gt;
   &lt;var&gt;msg&lt;/var&gt;
  &lt;/resource-bundle&gt;
 &lt;/application&gt;
&lt;/faces-config&gt;

]]&gt;&lt;/script&gt;

&lt;br /&gt;
実際の画面は以下。必須エラーのメッセージが変更されたことを確認できる。&lt;br /&gt;
また、日付形式エラーメッセージはjsf-api内のメッセージプロパティの内容が表示されていることを確認。


&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyD-vgRbbwVHFrrJ5dxaJQ_ZUggn8a1cqXur1s0ssGyuJcM5WEoJLNjYIW2kWBmY2R0gNDP3tiOj3FiockDjJ35NJ_1yhlfDWXZT_Nt0hsM85XEpbjIw-7EqO2EAOqilAV7oaIW8-A02Q/s1600/aaaaa002.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyD-vgRbbwVHFrrJ5dxaJQ_ZUggn8a1cqXur1s0ssGyuJcM5WEoJLNjYIW2kWBmY2R0gNDP3tiOj3FiockDjJ35NJ_1yhlfDWXZT_Nt0hsM85XEpbjIw-7EqO2EAOqilAV7oaIW8-A02Q/s1600/aaaaa002.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/8599155885295065541/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2013/12/jsf2.html#comment-form' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/8599155885295065541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/8599155885295065541'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2013/12/jsf2.html' title='【JSF2】デフォルトエラーメッセージを変更する。'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIRH0zhYiGHtnWUe3w5yDs8CJ4TtFXLTrjZGDM_lJ04qO2v1pjgCHBtMa8CFTsrsgdHoh2vGbVK8UFKX_BwNwUcVHtkAY-4MYoHmcAbrIC66WVfHFhyphenhyphenYX62Nb-xj21crayFyYxn9mcZrk/s72-c/aaaaa001.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-4204363950273371617</id><published>2013-12-07T23:49:00.003+09:00</published><updated>2013-12-28T15:52:18.677+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="jsf2"/><title type='text'></title><content type='html'>JSF2によるカスタムバリデータのサンプル&lt;br /&gt;
&lt;br /&gt;
JSF1.2系などと異なりJSF2系では必要なアノテーション定義することで設定ファイル(faces-config.xml)は必須でなくなりとてもスマートで良いですね！&lt;br /&gt;
なるべくならアノテーションによる既存バリデーションで済むのがベストですが、やはり、カスタムバリデータが必要なのも現実です。。&lt;br /&gt;
ということで、以下に携帯電話番号入力のカスタムバリデータをやってみました。
&lt;br /&gt;
&lt;br /&gt;
カスタムバリデータを作るには以下がポイントです。
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;javax.faces.validator.Validatorインターフェースを実装しvalidateメソッドを実装します。&lt;/li&gt;
&lt;li&gt;カスタムバリデータクラスに対して@FacesValidatorを付与します。また一意となるIDを定義します。（例ではパッケージ+クラス名としています。）&lt;/li&gt;
&lt;li&gt;画面側でf:validatorタグのvalidatorId属性に@FacesValidatorで指定したIDを指定します&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
■MobilePhoneValidator.java（カスタムバリデータクラス）
&lt;script class=&quot;brush: java&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[
import java.util.regex.Pattern;

import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.validator.FacesValidator;
import javax.faces.validator.Validator;
import javax.faces.validator.ValidatorException;

/**
 * 携帯電話バリデータ 090または080または070で始まり、ハイフンを入れること。
 */
@FacesValidator(&quot;jp.co.negishi.validator.MobilePhoneValidator&quot;)
public class MobilePhoneValidator implements Validator {

 private static final String PATTERN = &quot;(090|080|070)-\\d{4}-\\d{4}&quot;;
 private static final Pattern p = Pattern.compile(PATTERN);

 @Override
 public void validate(FacesContext context, UIComponent component,
   Object value) throws ValidatorException {
  if (!p.matcher(String.valueOf(value)).matches()) {
   FacesMessage msg = new FacesMessage(&quot;携帯電話の形式が正しくありません。&quot;);
   msg.setSeverity(FacesMessage.SEVERITY_ERROR);
   throw new ValidatorException(msg);
  }
 }
}


]]&gt;&lt;/script&gt;

&lt;br /&gt;
■inputSample.xhtml（入力画面）
&lt;script class=&quot;brush: xhtml&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[

&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;
 xmlns:ui=&quot;http://java.sun.com/jsf/facelets&quot;
 xmlns:h=&quot;http://java.sun.com/jsf/html&quot;
 xmlns:f=&quot;http://java.sun.com/jsf/core&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;
&lt;title&gt;JSF入力チェックサンプル&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
 &lt;h:form&gt;
  &lt;h:panelGrid columns=&quot;3&quot;&gt;
   &lt;f:facet name=&quot;header&quot;&gt;
    &lt;h:panelGroup style=&quot;display:block; text-align:center&quot;&gt;
     &lt;h:outputText value=&quot;入力チェック&quot; /&gt;
    &lt;/h:panelGroup&gt;
   &lt;/f:facet&gt;
   &lt;h:outputText value=&quot;携帯電話番号&quot; /&gt;
   &lt;h:inputText id=&quot;mobilePhoneNumber&quot;
    value=&quot;#{inputBean.mobilePhoneNumber}&quot;&gt;
    &lt;f:validator
     validatorId=&quot;jp.co.negishi.validator.MobilePhoneValidator&quot; /&gt;
   &lt;/h:inputText&gt;
   &lt;h:message for=&quot;mobilePhoneNumber&quot; style=&quot;color:red&quot; /&gt;
   &lt;f:facet name=&quot;footer&quot;&gt;
    &lt;h:panelGroup style=&quot;display:block; text-align:center&quot;&gt;
     &lt;h:commandButton value=&quot;Submit&quot; type=&quot;submit&quot;
      action=&quot;#{inputSampleAction.check}&quot; /&gt;
    &lt;/h:panelGroup&gt;
   &lt;/f:facet&gt;
  &lt;/h:panelGrid&gt;
 &lt;/h:form&gt;
&lt;/body&gt;
&lt;/html&gt;

]]&gt;&lt;/script&gt;

&lt;br /&gt;
■InputBean.java（入力画面で入力された値を格納するBeanクラス）
&lt;script class=&quot;brush: java&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[

import javax.faces.bean.ManagedBean;

@ManagedBean
public class InputBean {

 /** 携帯電話番号 */
 private String mobilePhoneNumber;

 /**
  * @return mobilePhoneNumber
  */
 public String getMobilePhoneNumber() {
  return mobilePhoneNumber;
 }

 /**
  * @param mobilePhoneNumber
  *            セットする mobilePhoneNumber
  */
 public void setMobilePhoneNumber(String mobilePhoneNumber) {
  this.mobilePhoneNumber = mobilePhoneNumber;
 }
}

]]&gt;&lt;/script&gt;

&lt;br /&gt;
■inputSampleOk.xhtml（次の画面）
&lt;script class=&quot;brush: xhtml&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;
 xmlns:ui=&quot;http://java.sun.com/jsf/facelets&quot;
 xmlns:h=&quot;http://java.sun.com/jsf/html&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;
&lt;title&gt;遷移後の画面です&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
 &lt;h:outputText value=&quot;入力された携帯電話番号は#{inputBean.mobilePhoneNumber}です&quot; /&gt;
&lt;/body&gt;
&lt;/html&gt;
]]&gt;&lt;/script&gt;


</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/4204363950273371617/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2013/12/jsf2-jsf1.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/4204363950273371617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/4204363950273371617'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2013/12/jsf2-jsf1.html' title=''/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-3553341196544052642</id><published>2013-11-29T23:55:00.001+09:00</published><updated>2013-11-30T17:50:37.834+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="glassfish"/><title type='text'>EclipseでGlassFishをAPサーバ時にホットデプロイを有効にする手順</title><content type='html'>初期設定ではXHTMLなど変更しても反映されない・・・。&lt;br /&gt;
&lt;br /&gt;
つまりホットデプロイが有効になっていない。&lt;br /&gt;
&lt;br /&gt;
環境は以下&lt;br /&gt;
windows7 32bit&lt;br /&gt;
eclipse 4.3.1&lt;br /&gt;
GlassFish 3.1&lt;br /&gt;
&lt;br /&gt;
サーバの設定を開き、&lt;br /&gt;
公開欄が「自動公開しない」→「リソースの変更時に自動的に公開」に変更し、保存(ctrl+s)する。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-bU8dd7MQaOu2txCKnFHZ1Ka49fKX6_jOYp3ukFBJjvr2Y_IV-KnT_JGPCjra9I553Imcs9E4o8N4jsznSCW5GENWdGxFFolk_OVMCHzZWxp3nTFXtJvdijgvBCSMYYFnhN-KKK_lgOg/s1600/image.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;199&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-bU8dd7MQaOu2txCKnFHZ1Ka49fKX6_jOYp3ukFBJjvr2Y_IV-KnT_JGPCjra9I553Imcs9E4o8N4jsznSCW5GENWdGxFFolk_OVMCHzZWxp3nTFXtJvdijgvBCSMYYFnhN-KKK_lgOg/s320/image.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/3553341196544052642/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2013/11/eclipseglassfishap.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/3553341196544052642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/3553341196544052642'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2013/11/eclipseglassfishap.html' title='EclipseでGlassFishをAPサーバ時にホットデプロイを有効にする手順'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-bU8dd7MQaOu2txCKnFHZ1Ka49fKX6_jOYp3ukFBJjvr2Y_IV-KnT_JGPCjra9I553Imcs9E4o8N4jsznSCW5GENWdGxFFolk_OVMCHzZWxp3nTFXtJvdijgvBCSMYYFnhN-KKK_lgOg/s72-c/image.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-2669091532750106713</id><published>2013-11-04T04:36:00.004+09:00</published><updated>2013-11-10T23:04:25.393+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Dell InspironMini910にUbuntu 13.04をインストールする</title><content type='html'>1.Ubuntu 13.04のISOをダウンロード。&lt;br /&gt;
&lt;br /&gt;
2.unetbootinというフリーソフトを使用し、USBメモリにISOを展開する。&lt;br /&gt;
&lt;br /&gt;
3.InspironMini910に2で作成したUSBメモリを差し、Ubuntu 13.04をインストールする。&lt;br /&gt;
&lt;br /&gt;
4.無線LANが認識していないので、一旦有線LANでネット接続し、以下のコマンドを実行。&lt;br /&gt;
&lt;br /&gt;
~$ sudo apt-get update&lt;br /&gt;
~$ sudo apt-get upgrade&lt;br /&gt;
~$ sudo apt-get install bcmwl-kernel-source&lt;br /&gt;
&lt;br /&gt;
5.再起動後、無線LANが認識していることを確認。&lt;br /&gt;
&lt;br /&gt;
■スペックは以下を参考に&lt;br /&gt;
&lt;a href=&quot;http://abc.s65.xrea.com/dell/wiki/INSPIRON/910/&quot;&gt;http://abc.s65.xrea.com/dell/wiki/INSPIRON/910/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
■無線LANの手順は下記参考&lt;br /&gt;
&lt;a href=&quot;https://wiki.ubuntulinux.jp/UbuntuTips/Hardware/HowToSetupBcm43xx&quot;&gt;https://wiki.ubuntulinux.jp/UbuntuTips/Hardware/HowToSetupBcm43xx&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/2669091532750106713/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2013/11/dell-inspironmini910ubuntu-1304.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/2669091532750106713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/2669091532750106713'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2013/11/dell-inspironmini910ubuntu-1304.html' title='Dell InspironMini910にUbuntu 13.04をインストールする'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-4468335121940953751</id><published>2013-07-20T12:40:00.001+09:00</published><updated>2013-07-20T12:46:26.517+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="知識"/><title type='text'>オートマトン理論について</title><content type='html'>オートマトン理論がおもしろい。&lt;br /&gt;
&lt;br /&gt;
以下のサイトがわかりやすい。&lt;br /&gt;
プログラマなら知っておいたほうが良い。&lt;br /&gt;
&lt;br /&gt;
因みに「応用情報技術者試験（AP）」の範囲でもある。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
■オートマトンの基礎&lt;br /&gt;
&lt;a href=&quot;http://www1.adachi.ne.jp/katz/primer/automata.html&quot;&gt;http://www1.adachi.ne.jp/katz/primer/automata.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;■川渡り問題&lt;br /&gt;
&lt;a href=&quot;http://ja.wikipedia.org/wiki/%E5%B7%9D%E6%B8%A1%E3%82%8A%E5%95%8F%E9%A1%8C&quot;&gt;http://ja.wikipedia.org/wiki/%E5%B7%9D%E6%B8%A1%E3%82%8A%E5%95%8F%E9%A1%8C&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
■３人の宣教師と３人の土人&lt;br /&gt;
&lt;a href=&quot;http://www.umechando.com/playroom/04.htm&quot;&gt;http://www.umechando.com/playroom/04.htm&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/4468335121940953751/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2013/07/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/4468335121940953751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/4468335121940953751'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2013/07/blog-post.html' title='オートマトン理論について'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-4810322270834625694</id><published>2013-06-29T02:48:00.001+09:00</published><updated>2013-06-29T02:49:12.918+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>エディットテキスト（EditText）でHTMLタグによる装飾をしてみた。</title><content type='html'>エディットテキスト（EditText）でHTMLタグによる装飾を行うサンプル。&lt;br /&gt;
また、ディスプレイの縦と横幅の表示。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;

&lt;script type=&#39;syntaxhighlighter&#39; class=&#39;brush: java&#39;&gt;&lt;![CDATA[
  // エディットテキストの作成
  editTxt = new EditText(this);
  SpannableStringBuilder spannable = new SpannableStringBuilder();
  spannable.append(Html.fromHtml(&quot;&lt;font color=\&quot;#FF0000\&quot;&gt;赤い&lt;/font&gt;Text&lt;I&gt;ななめ&lt;/I&gt;&quot;));

  // ディスプレイの幅を取得
  DisplayMetrics metrics = new DisplayMetrics();
  getWindowManager().getDefaultDisplay().getMetrics(metrics);
  int width = metrics.widthPixels; // 横幅
  int height = metrics.heightPixels; // 縦幅

  spannable.append(&quot;\n&quot;);
  spannable.append(&quot;縦：&quot; + height + &quot; 横：&quot; + width);

  // テキストをセット
  editTxt.setText(spannable);
]]&gt;&lt;/script&gt;


&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikk9mQopVrnHP0-nwTihu_OGkFcoFo4esSQc0d-5SYhnzP65E4fxJC_JtkfFSE5LfXRLwxCeB66dp0u0rBhQBoxOXSgJrkBt0gV-VEYeF14NoM9y-moIGnVSvN3L4PxPA7TxO-arJHh90/s800/20130629-023540.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;192&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikk9mQopVrnHP0-nwTihu_OGkFcoFo4esSQc0d-5SYhnzP65E4fxJC_JtkfFSE5LfXRLwxCeB66dp0u0rBhQBoxOXSgJrkBt0gV-VEYeF14NoM9y-moIGnVSvN3L4PxPA7TxO-arJHh90/s320/20130629-023540.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/4810322270834625694/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2013/06/edittexthtml.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/4810322270834625694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/4810322270834625694'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2013/06/edittexthtml.html' title='エディットテキスト（EditText）でHTMLタグによる装飾をしてみた。'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikk9mQopVrnHP0-nwTihu_OGkFcoFo4esSQc0d-5SYhnzP65E4fxJC_JtkfFSE5LfXRLwxCeB66dp0u0rBhQBoxOXSgJrkBt0gV-VEYeF14NoM9y-moIGnVSvN3L4PxPA7TxO-arJHh90/s72-c/20130629-023540.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-6192426219813027639</id><published>2013-06-15T09:41:00.002+09:00</published><updated>2013-06-15T09:42:29.049+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="twitter"/><title type='text'>Twitterウィジェットが表示されない件について</title><content type='html'>ホームページに貼り付けていたTwitterのタイムラインのウィジェットが表示されなくなっていた。。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
原因はサービスが終了したようだ。&lt;br /&gt;
&lt;br /&gt;
新たに再作成する必要がある。&lt;br /&gt;
&lt;br /&gt;
参考サイト：

 &lt;a href=&quot;http://princesswell.rocketserver.jp/web-cheat-sheet/twitter-join-the-conversation-end/&quot;&gt;Twitterタイムラインを表示するウィジェットが提供終了になるとのことです&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/6192426219813027639/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2013/06/twitter.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/6192426219813027639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/6192426219813027639'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2013/06/twitter.html' title='Twitterウィジェットが表示されない件について'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-6917267970032278617</id><published>2013-05-25T13:44:00.001+09:00</published><updated>2013-05-25T13:44:46.600+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>レスポンスヘッダ情報を全て表示</title><content type='html'>&lt;br /&gt;
Android開発中にて。&lt;br /&gt;
サーバから取得データが文字化けしていたため、&lt;br /&gt;
サーバからのレスポンスの内容を確認用。&lt;br /&gt;
ヘッダ情報を表示すれば文字コードも確認できます。&lt;br /&gt;
&lt;br /&gt;
// ※responseはHttpResponseクラスを表す。&lt;br /&gt;
for (Header header : response.getAllHeaders()) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;String sHeaderName = header.getName();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;String sHeaderValue = header.getValue();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Log.d(&quot;HTTP Test&quot;, &quot;getAllHeaders() : &quot; + sHeaderName + &quot; : &quot; + sHeaderValue );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/6917267970032278617/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2013/05/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/6917267970032278617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/6917267970032278617'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2013/05/blog-post.html' title='レスポンスヘッダ情報を全て表示'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-6051182260345172083</id><published>2012-12-24T15:16:00.000+09:00</published><updated>2012-12-24T15:16:52.402+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".htaccess"/><category scheme="http://www.blogger.com/atom/ns#" term="BASIC認証"/><title type='text'>特定のファイルのみBasic認証を行う場合</title><content type='html'>&lt;br /&gt;
.htaccessでBasic認証を行う場合、大抵、特定のディレクトリにBasic認証をするが、&lt;br /&gt;
&lt;br /&gt;
今回、特定のファイルのみBasic認証をすることがあったのでメモ。&lt;br /&gt;
&lt;br /&gt;
ポイントはFilesタグを使用する。&lt;br /&gt;
&lt;br /&gt;
以下、.htaccessの内容&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
AuthUserFile /home/（パスワードファイルの置いたパス）.htpasswd&lt;br /&gt;
AuthGroupFile /dev/null&lt;br /&gt;
AuthName &quot;Input Your Name And Password&quot;&lt;br /&gt;
AuthType Basic&lt;br /&gt;
&amp;lt;Files 特定のファイル名.php&amp;gt;&lt;br /&gt;
require valid-user&lt;br /&gt;
&amp;lt;/Files&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/6051182260345172083/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2012/12/basic.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/6051182260345172083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/6051182260345172083'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2012/12/basic.html' title='特定のファイルのみBasic認証を行う場合'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-5060159688997279983</id><published>2012-12-23T17:27:00.003+09:00</published><updated>2012-12-23T17:27:59.781+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="taglib"/><title type='text'>rtexprvalueの意味</title><content type='html'>&lt;br /&gt;
カスタムタグ作成時の指定でよく忘れる。&lt;br /&gt;
&lt;br /&gt;
rtexprvalueは「Request Time Expression Value」の略だそうです。&lt;br /&gt;
&lt;br /&gt;
属性値の指定に式が使用できるかどうか決める。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: whitesmoke; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; letter-spacing: 1px; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: whitesmoke; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; letter-spacing: 1px; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: whitesmoke; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; letter-spacing: 1px; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/5060159688997279983/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2012/12/rtexprvalue.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/5060159688997279983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/5060159688997279983'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2012/12/rtexprvalue.html' title='rtexprvalueの意味'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-2473511423013895118</id><published>2012-10-13T22:33:00.000+09:00</published><updated>2012-10-28T17:32:28.631+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="OCJ-P"/><title type='text'>OCJ-Pを受けてきた。</title><content type='html'>&lt;br /&gt;
先日、OCJ-Pを受けてきた。&lt;br /&gt;
&lt;br /&gt;
結果は78%で合格。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
役に立った書籍は&lt;br /&gt;
&lt;br /&gt;
通称黒本の&lt;br /&gt;
「徹底攻略Oracle認定JavaプログラマSE 6問題集 ［CX-310-065］対応 (ITプロ/ITエンジニアのための徹底攻略) 」&lt;br /&gt;
&lt;br /&gt;
この問題集から結構出題された。&lt;br /&gt;
&lt;br /&gt;
続いて通称紫本の&lt;br /&gt;
「SUN教科書 Javaプログラマ(SJC-P) 5.0・6.0両対応(試験番号310-055、310-065)&amp;nbsp;」&lt;br /&gt;
&lt;br /&gt;
黒本には載っていない視点の問題が多く、勉強にもなった。&lt;br /&gt;
&lt;br /&gt;
最後に、&lt;br /&gt;
「Sun SJC-P認定ガイド Java5/6編 310-055&amp;amp;310-065対応」&lt;br /&gt;
&lt;br /&gt;
これはJavaプログラマなら知っておくべきことが書いてあり、学校の教科書みたいな存在だ。&lt;br /&gt;
見やすくて、説明もわかりやすかった。&lt;br /&gt;
&lt;br /&gt;
試験一週間前に購入したので受験までに全部はできなったが、今後もこの本にはお世話になるだろう。&lt;br /&gt;
少々高かったが、それ以上の価値はある。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
あとWebサイトでは「&lt;a href=&quot;https://www.choistudy.jp/&quot; target=&quot;_blank&quot;&gt;ちょいスタディ&lt;/a&gt;」がおすすめ。&lt;br /&gt;
ブラウザがIEにしか対応していないようなのが残念だが、気晴らしに勉強できる。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm-jp.amazon.co.jp/e/cm?t=akitonegishi-22&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;asins=4844329774&amp;amp;ref=qf_sp_asin_til&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;


&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm-jp.amazon.co.jp/e/cm?t=akitonegishi-22&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;asins=4798118508&amp;amp;ref=qf_sp_asin_til&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;


&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm-jp.amazon.co.jp/e/cm?t=akitonegishi-22&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;asins=4822284190&amp;amp;ref=qf_sp_asin_til&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;


</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/2473511423013895118/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2012/10/ocj-p.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/2473511423013895118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/2473511423013895118'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2012/10/ocj-p.html' title='OCJ-Pを受けてきた。'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-7440406469621981464</id><published>2012-08-30T23:23:00.000+09:00</published><updated>2012-08-30T23:23:56.483+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>アノテーションの自作テスト</title><content type='html'>&lt;br /&gt;
まずはアノテーションの作成。AnoTestクラス。&lt;br /&gt;
・フィールドに対して付与するアノテーションとする。&lt;br /&gt;
・nameという属性を与える。&lt;br /&gt;
&lt;br /&gt;



&lt;script type=&#39;syntaxhighlighter&#39; class=&#39;brush: java&#39;&gt;&lt;![CDATA[
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface AnoTest {
   String name() default &quot;&quot;;
}

]]&gt;&lt;/script&gt;



&lt;br /&gt;
次に自作アノテーションを付与する親クラスの作成。&lt;br /&gt;
&lt;br /&gt;


&lt;script type=&#39;syntaxhighlighter&#39; class=&#39;brush: java&#39;&gt;&lt;![CDATA[
/**
 * スーパーDTO
 */
public class SuperDto {

    /** ID */
    @AnoTest(name = &quot;ID&quot;)
    String id;

    /** 名前 */
    @AnoTest(name = &quot;名前&quot;)
    String name;

    /** 年齢 */
    @AnoTest(name = &quot;年齢&quot;)
    int age;
    
    // setter/getter省略
}
]]&gt;&lt;/script&gt;

さらにSuperDtoクラスを継承した子クラスSubDtoクラスの作成。&lt;br /&gt;
&lt;br /&gt;


&lt;script type=&#39;syntaxhighlighter&#39; class=&#39;brush: java&#39;&gt;&lt;![CDATA[
/**
 * サブDTO
 */
public class SubDto extends SuperDto {

    /** 趣味 */
    @AnoTest(name = &quot;趣味&quot;)
    String hobby;

    /** その他 */
    String etc;

}
]]&gt;&lt;/script&gt;

&lt;br /&gt;
メインクラスでサブDTOに対して親クラスを含めたフィールドに対してアノテーション情報を取得する。&lt;br /&gt;
&lt;br /&gt;


&lt;script type=&#39;syntaxhighlighter&#39; class=&#39;brush: java&#39;&gt;&lt;![CDATA[
import java.lang.reflect.Field;

public class Main {

    public static void main(String[] args) {

        annotationTestInfo(SubDto.class);
    }

    /**
     * 親クラスを含めたアノテーション取得テスト
     * 
     * @param clazz
     */
    private static void annotationTestInfo(Class&lt;?&gt; clazz) {

        System.out.println(&quot;■親クラスを含めたアノテーション情報取得テスト&quot;);
        System.out.println(&quot;------------------------------------------&quot;);

        for (Class&lt;?&gt; superClass = clazz; superClass != Object.class; superClass = superClass
                .getSuperclass()) {

            Field[] fields = superClass.getDeclaredFields();

            for (Field field : fields) {
                if (field.isAnnotationPresent(AnoTest.class)) {

                    System.out.println(&quot;フィールド名：&quot; + field.getName());
                    System.out.println(&quot;アノテーションAnoTestのname値：&quot;
                            + field.getAnnotation(AnoTest.class).name());
                    System.out
                            .println(&quot;------------------------------------------&quot;);

                }
            }
        }
    }
}
]]&gt;&lt;/script&gt;

結果は以下。&lt;br /&gt;
親クラスも含めてアノテーションの付与されたフィールドに対して、name属性値を取得できている。
&lt;pre&gt;
■親クラスを含めたアノテーション情報取得テスト
------------------------------------------
フィールド名：hobby
アノテーションAnoTestのname値：趣味
------------------------------------------
フィールド名：id
アノテーションAnoTestのname値：ID
------------------------------------------
フィールド名：name
アノテーションAnoTestのname値：名前
------------------------------------------
フィールド名：age
アノテーションAnoTestのname値：年齢
------------------------------------------

&lt;/pre&gt;


</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/7440406469621981464/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2012/08/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/7440406469621981464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/7440406469621981464'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2012/08/blog-post.html' title='アノテーションの自作テスト'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-8764124700336525407</id><published>2012-02-16T21:56:00.001+09:00</published><updated>2012-10-28T17:30:48.324+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Chrome"/><title type='text'>Chromeにてクッキーの保存場所は？（Win7）</title><content type='html'>Chromeブラウザのクッキーの保存場所（Windows7）は&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:\Users\（ユーザ名）\AppData\Local\Google\Chrome\User Data\Default&lt;br /&gt;
&lt;br /&gt;
に&lt;br /&gt;
&quot;Cookies&quot;というファイル名で１ファイルにまとまっている。しかもバイナリファイルだ。&lt;br /&gt;
&lt;br /&gt;
Chromeの設定画面から操作することになる。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
また、ChromeにはCookieに簡単にアクセスでき、編集も可能な便利なプラグインがある。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://chrome.google.com/webstore/detail/edit-this-cookie/fngmhnnpilhplaeedifhccceomclgfbg&quot; target=&quot;_blank&quot;&gt;Edit This Cookie&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/8764124700336525407/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2012/02/chromewin7.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/8764124700336525407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/8764124700336525407'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2012/02/chromewin7.html' title='Chromeにてクッキーの保存場所は？（Win7）'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-6808375551350735427</id><published>2012-02-02T23:44:00.000+09:00</published><updated>2012-02-02T23:44:07.525+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>バリデーションに必要なjarファイルについて</title><content type='html'>以下のjarをWEB-INF/lib配下に置く。&lt;br /&gt;
&lt;br /&gt;
■validation-api-1.0.0.GA.jar&lt;br /&gt;
&amp;nbsp;　バリデーションAPIのインターフェース郡をまとめたjarファイル&lt;br /&gt;
&lt;br /&gt;
■slf4j-api-1.6.1.jar&lt;br /&gt;
&amp;nbsp;　バリデーションAPIの実装クラスをまとめたjarファイル。&lt;br /&gt;
&lt;br /&gt;
■hibernate-validator-4.0.2.GA.jar&lt;br /&gt;
&amp;nbsp;　hibernate-validator-4.0.2.GA.jarの内部で利用しているjarファイル（ロギング用のjar）&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/6808375551350735427/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2012/02/jar.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/6808375551350735427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/6808375551350735427'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2012/02/jar.html' title='バリデーションに必要なjarファイルについて'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-3599730515192517732</id><published>2012-02-02T10:17:00.000+09:00</published><updated>2012-02-02T10:17:01.992+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>List list = new ArrayList();と書く理由</title><content type='html'>&lt;br /&gt;
Javaコードを記述する場合、&lt;br /&gt;
&lt;br /&gt;
List list = new ArrayList();と書く理由&lt;br /&gt;
&lt;br /&gt;
の記述をよく見るが、なぜこのように記述するか、意味を理解していなかった。&lt;br /&gt;
&lt;br /&gt;
以下、参考URL&lt;br /&gt;
&lt;a href=&quot;http://topickup.web.fc2.com/java/list_arraylist.html&quot;&gt;http://topickup.web.fc2.com/java/list_arraylist.html&lt;/a&gt;
&lt;br /&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/3599730515192517732/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2012/02/list-list-new-arraylist.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/3599730515192517732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/3599730515192517732'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2012/02/list-list-new-arraylist.html' title='List list = new ArrayList();と書く理由'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-1871523798652509815</id><published>2012-02-02T10:15:00.003+09:00</published><updated>2012-02-02T10:15:53.935+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>Map map = new HashMap();と記述する理由</title><content type='html'>&lt;br /&gt;
Javaコードを記述する場合、&lt;br /&gt;
&lt;br /&gt;
Map map = new HashMap();&lt;br /&gt;
&lt;br /&gt;
の記述をよく見るが、なぜこのように記述するか、意味を理解していなかった。&lt;br /&gt;
&lt;br /&gt;
以下、参考URL&lt;br /&gt;
&lt;a href=&quot;http://topickup.web.fc2.com/java/map_hashmap.html&quot;&gt;http://topickup.web.fc2.com/java/map_hashmap.html&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/1871523798652509815/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2012/02/map-map-new-hashmap.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/1871523798652509815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/1871523798652509815'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2012/02/map-map-new-hashmap.html' title='Map map = new HashMap();と記述する理由'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-2135967160621841506</id><published>2012-01-29T18:31:00.002+09:00</published><updated>2012-01-29T18:32:23.620+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>JSTLを利用するには？</title><content type='html'>&lt;br /&gt;
WEB-INF/lib配下に以下のjarを入れる。&lt;br /&gt;
・jstl-1.1.2.jar&lt;br /&gt;
・standard-1.1.2.jar&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/2135967160621841506/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2012/01/jstl.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/2135967160621841506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/2135967160621841506'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2012/01/jstl.html' title='JSTLを利用するには？'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-1270170225916905470</id><published>2012-01-01T12:47:00.000+09:00</published><updated>2012-01-01T12:47:21.628+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="tomcat"/><title type='text'>Tomcat Managerのユーザ名とパスワードの設定</title><content type='html'>&lt;br /&gt;
tomcat-users.xmlを編集する。&lt;br /&gt;
以下、tomcat-usersタグ内に追加する。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;role rolename=&quot;manager&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;role rolename=&quot;admin&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;user username=&quot;tomcat&quot; password=&quot;tomcat&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; roles=&quot;manager,admin&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/1270170225916905470/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2012/01/tomcat-manager.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/1270170225916905470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/1270170225916905470'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2012/01/tomcat-manager.html' title='Tomcat Managerのユーザ名とパスワードの設定'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-4211324653084519457</id><published>2011-10-22T02:53:00.000+09:00</published><updated>2012-09-01T01:41:57.518+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript JQuery"/><title type='text'>リンクイベントをキャンセルする場合のサンプル</title><content type='html'>&lt;br /&gt;
リンクイベントをキャンセルする場合のサンプル&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&#39;syntaxhighlighter&#39; class=&#39;brush: javascript&#39;&gt;&lt;![CDATA[
&lt;a href=&quot;#&quot; onclick=&#39;cancelLink(event);&#39;&gt;てすと&lt;/a&gt;
]]&gt;&lt;/script&gt;
&lt;br /&gt;
&lt;br /&gt;

&lt;script type=&#39;syntaxhighlighter&#39; class=&#39;brush: javascript&#39;&gt;&lt;![CDATA[
function cancelLink( evt ) {
  // IE
  if (window.navigator.appName.toLowerCase().indexOf(&quot;microsoft&quot;) &gt; -1) {
    window.event.returnValue = false;
  }
  else {
    // IE以外
    evt.preventDefault();
  }
}
]]&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/4211324653084519457/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2011/10/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/4211324653084519457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/4211324653084519457'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2011/10/blog-post.html' title='リンクイベントをキャンセルする場合のサンプル'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-2315917162753748988</id><published>2011-07-16T02:53:00.000+09:00</published><updated>2011-07-16T02:53:41.877+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="pdt"/><title type='text'>PHP_CodeSniffer（コーディング規約チェックツール）設定</title><content type='html'>eclipse3.6（PDT）にJavaでいうところのCheckStyleを入れてみる。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Eclipseにて&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;・[ヘルプ]-[新規ソフトウェアのインストール]にて&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;リポジトリーの追加を実施&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;名前：（任意）&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;ロケーション：http://www.phpsrc.org/eclipse/pti/&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-OFrlIPowv459rnr75mCYqAdrmf1PSdxPvVW9bzZwJ18wyfvJkwXjSKsKR1KfgrFIuF8oM-UM2dKW-CmNpwLI1r24kY2cdFLRww0wghYiQnZLp9UgQbkP2lmFmI0PWk0l1JRt14v2F-Q/s1600/01.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;186&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-OFrlIPowv459rnr75mCYqAdrmf1PSdxPvVW9bzZwJ18wyfvJkwXjSKsKR1KfgrFIuF8oM-UM2dKW-CmNpwLI1r24kY2cdFLRww0wghYiQnZLp9UgQbkP2lmFmI0PWk0l1JRt14v2F-Q/s320/01.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;すべてにチェックを入れ「次へ」&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-hyeMwWbSlvhLsd_G4Y3pKlkD5NxaTV5Edj5AS7ml74CX8Sm7N6lllphqnq59DS7zxTFzb7N05_gHc6CAtrnysIBzn3hr1wv8XIKd0-uN2JB85slj4sUBjJatVh63J7qIffGkfC7rx1w/s1600/02.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;181&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-hyeMwWbSlvhLsd_G4Y3pKlkD5NxaTV5Edj5AS7ml74CX8Sm7N6lllphqnq59DS7zxTFzb7N05_gHc6CAtrnysIBzn3hr1wv8XIKd0-uN2JB85slj4sUBjJatVh63J7qIffGkfC7rx1w/s320/02.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;ライセンスに同意&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-xJQtBO9ZlArR_V9sZ-zzgzaG7OZWw6PRTXEKyR6jHZjXoq_lHrJIL13zK24fNz8E8ugKfT6kD-tOHSgU7sXARppnFOj9wpCjhb32BBM6JQDo7WN0RwwBEwPsXJTI-IhSAMHyI3yOuaQ/s1600/03.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;181&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-xJQtBO9ZlArR_V9sZ-zzgzaG7OZWw6PRTXEKyR6jHZjXoq_lHrJIL13zK24fNz8E8ugKfT6kD-tOHSgU7sXARppnFOj9wpCjhb32BBM6JQDo7WN0RwwBEwPsXJTI-IhSAMHyI3yOuaQ/s320/03.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;OKをクリック&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGgiJNkYpbsoVUT2iKU2svkQvGH5syoMOPlkgXLZYKRKXUe5tfPUtd0O3h4WJex4LwWq6t8NKq56fC4i5Zyq-bvrXeNF1jx2jlu4OpXpyN4I1udUwNpxCfsvZKkURxE2muUxpjKkp67m0/s1600/04.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;58&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGgiJNkYpbsoVUT2iKU2svkQvGH5syoMOPlkgXLZYKRKXUe5tfPUtd0O3h4WJex4LwWq6t8NKq56fC4i5Zyq-bvrXeNF1jx2jlu4OpXpyN4I1udUwNpxCfsvZKkURxE2muUxpjKkp67m0/s320/04.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;eclipseを再起動して完了&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFr5O42_OLLQg8XRfUc0R0sEKNg8DMw4R5YkKQQDWqUQiyd0VK3h-ItPORxtt-qkul5BUelYsfoW3_WRaW6_dLKzIUs0HCZqrWcTXjxiQvnaASDh999-DnHlKuhC2uTPRoPgH0Pc2semM/s1600/05.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;58&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFr5O42_OLLQg8XRfUc0R0sEKNg8DMw4R5YkKQQDWqUQiyd0VK3h-ItPORxtt-qkul5BUelYsfoW3_WRaW6_dLKzIUs0HCZqrWcTXjxiQvnaASDh999-DnHlKuhC2uTPRoPgH0Pc2semM/s320/05.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/2315917162753748988/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2011/07/phpcodesniffer.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/2315917162753748988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/2315917162753748988'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2011/07/phpcodesniffer.html' title='PHP_CodeSniffer（コーディング規約チェックツール）設定'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-OFrlIPowv459rnr75mCYqAdrmf1PSdxPvVW9bzZwJ18wyfvJkwXjSKsKR1KfgrFIuF8oM-UM2dKW-CmNpwLI1r24kY2cdFLRww0wghYiQnZLp9UgQbkP2lmFmI0PWk0l1JRt14v2F-Q/s72-c/01.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6080773683491496251.post-4624968151658989783</id><published>2010-12-17T18:51:00.001+09:00</published><updated>2010-12-17T18:52:40.293+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux CentOS"/><title type='text'>VMwareのCentOS5.5　設定 #1　日本語文字表示手順</title><content type='html'>Windows7上でVMware（仮想）のCentOS5.5を入れてみた。&lt;br /&gt;
&lt;br /&gt;
デフォルトインストール後、言語設定を日本語にしても文字化けしてしまう。&lt;br /&gt;
&lt;br /&gt;
↓&lt;br /&gt;
&lt;br /&gt;
VMWAREだと英語版がデフォルトのため、日本語フォントを自分で追加する必要がある。&lt;br /&gt;
日本語フォントのインストール&lt;br /&gt;
&lt;br /&gt;
↓&lt;br /&gt;
&lt;br /&gt;
# yum install fonts-japanese&lt;br /&gt;
&lt;br /&gt;
↓&lt;br /&gt;
&lt;br /&gt;
これだけではフォント表示が文字化けしたままなので、以下のコマンドでキャッシュ削除する。&lt;br /&gt;
&lt;br /&gt;
↓&lt;br /&gt;
&lt;br /&gt;
# fc-cache -fv&lt;br /&gt;
&lt;br /&gt;
↓&lt;br /&gt;
ログアウト　→　ログイン後に正常に日本語が表示。</content><link rel='replies' type='application/atom+xml' href='http://lab-aki.blogspot.com/feeds/4624968151658989783/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://lab-aki.blogspot.com/2010/12/vmwarecentos55-1.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/4624968151658989783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6080773683491496251/posts/default/4624968151658989783'/><link rel='alternate' type='text/html' href='http://lab-aki.blogspot.com/2010/12/vmwarecentos55-1.html' title='VMwareのCentOS5.5　設定 #1　日本語文字表示手順'/><author><name>NEGI</name><uri>http://www.blogger.com/profile/06185731013087728161</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>