$B$*@$OC$K$J$j$^$9!#@DLx$H8@$$$^$9!#(B<br><br>sastruts 1.0.4-sp5$B$G0J2<$N$h$&$J%3!<%I$r<B9T$7$^$7$?!#(B<br><br>&nbsp;&nbsp;&nbsp; @Resource<br>&nbsp;&nbsp;&nbsp; protected HttpServletResponse response;<br><br>&nbsp;&nbsp;&nbsp; public String meta;<br>&nbsp;&nbsp;&nbsp; public String docType;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; @Execute(validator = false)<br>
&nbsp;&nbsp;&nbsp; public String index()<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Mobile mobile = Mobile.getMobile(RequestUtil.getRequest());<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (mobile.isDocomo()) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; meta = &quot;&lt;meta http-equiv=\&quot;Content-Type\&quot; content=\&quot;application/xhtml+xml; charset=utf-8\&quot; /&gt;&quot;;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; docType = &quot;&lt;!DOCTYPE html PUBLIC \&quot;-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/1.0) 1.0//EN\&quot; \&quot;i-xhtml_4ja_10.dtd\&quot;&gt;&quot;;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; response.setContentType(&quot;application/xhtml+xml; charset=utf-8&quot;);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; } else {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; meta = &quot;&lt;meta http-equiv=\&quot;Content-Type\&quot; content=\&quot;text/html; charset=utf-8\&quot; /&gt;&quot;;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; docType = &quot;&lt;!DOCTYPE html PUBLIC \&quot;-//W3C//DTD XHTML 1.0 Strict//EN\&quot; \&quot;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>\&quot;&gt;&quot;;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return &quot;index.jsp&quot;<br>&nbsp;&nbsp;&nbsp; }<br><br>$B$3$N;~!"(Bdocomo$B7HBS$G8+$?;~$@$1FCJL$J(BContent-Type$B$rJV$7$?$$$N$G$9$,(B<br>docomo$B$G$b$=$l0J30$G$b%X%C%@!<$r3NG'$9$k$H(B<br>$B!V(BContent-Type: text/html;charset=UTF-8
$B!W(B<br>$B$H$J$C$F$7$^$$$^$9!#(B<br><br>$B$A$J$_$K!"(Breturn null;$B$K$9$k$H!"5a$a$F$$$?%X%C%@!<$,JV$C$F$-$^$7$?!#(B<br>jsp$B$rI=<($7$F$+$D!"%X%C%@!<$rAw=P$9$kJ}K!$O$"$j$^$9$+!)(B<br>