$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>    @Resource<br>    protected HttpServletResponse response;<br><br>    public String meta;<br>    public String docType;<br>    <br>    @Execute(validator = false)<br>
    public String index()<br>    {<br>        Mobile mobile = Mobile.getMobile(RequestUtil.getRequest());<br>        if (mobile.isDocomo()) {<br>            meta = "<meta http-equiv=\"Content-Type\" content=\"application/xhtml+xml; charset=utf-8\" />";<br>
            docType = "<!DOCTYPE html PUBLIC \"-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/1.0) 1.0//EN\" \"i-xhtml_4ja_10.dtd\">";<br>            response.setContentType("application/xhtml+xml; charset=utf-8");<br>
        } else {<br>            meta = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />";<br>            docType = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>\">";<br>
        }<br>        return "index.jsp"<br>    }<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>