|
|
|
|
<?xml version="1.0" encoding="EUC-JP"?>
|
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
|
|
|
|
|
<head><script src="//archive.org/includes/analytics.js?v=cf34f82" type="text/javascript"></script>
|
|
|
|
|
<script type="text/javascript">window.addEventListener('DOMContentLoaded',function(){var v=archive_analytics.values;v.service='wb';v.server_name='wwwb-app224.us.archive.org';v.server_ms=381;archive_analytics.send_pageview({});});</script>
|
|
|
|
|
<script type="text/javascript" src="/_static/js/bundle-playback.js?v=poeZ53Bz" charset="utf-8"></script>
|
|
|
|
|
<script type="text/javascript" src="/_static/js/wombat.js?v=UHAOicsW" charset="utf-8"></script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
__wm.init("https://web.archive.org/web");
|
|
|
|
|
__wm.wombat("http://www.nina.jp:80/server/slackware/webapp/tomcat_charset.html","20181003202907","https://web.archive.org/","web","/_static/",
|
|
|
|
|
"1538598547");
|
|
|
|
|
</script>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=fantwOh2" />
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=qtvMKcIJ" />
|
|
|
|
|
<!-- End Wayback Rewrite JS Include -->
|
|
|
|
|
|
|
|
|
|
<meta http-equiv="content-type" content="text/html"/>
|
|
|
|
|
<meta http-equiv="content-style-type" content="text/css"/>
|
|
|
|
|
<title>Tomcat<EFBFBD><EFBFBD>UTF-8/EUC<55><43><EFBFBD>Ȥ<EFBFBD></title>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="/web/20181003202907cs_/http://www.nina.jp/html.css"/>
|
|
|
|
|
<link rel="shortcut icon" href="https://web.archive.org/web/20181003202907im_/http://www.nina.jp/img/nina.ico"/>
|
|
|
|
|
</head>
|
|
|
|
|
<body><!-- BEGIN WAYBACK TOOLBAR INSERT -->
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
body {
|
|
|
|
|
margin-top:0 !important;
|
|
|
|
|
padding-top:0 !important;
|
|
|
|
|
/*min-width:800px !important;*/
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<script>__wm.rw(0);</script>
|
|
|
|
|
<div id="wm-ipp-base" lang="en" style="display:none;direction:ltr;">
|
|
|
|
|
<div id="wm-ipp" style="position:fixed;left:0;top:0;right:0;">
|
|
|
|
|
<div id="donato" style="position:relative;width:100%;">
|
|
|
|
|
<div id="donato-base">
|
|
|
|
|
<iframe id="donato-if" src="https://archive.org/includes/donate.php?as_page=1&platform=wb&referer=https%3A//web.archive.org/web/20181003202907/http%3A//www.nina.jp/server/slackware/webapp/tomcat_charset.html"
|
|
|
|
|
scrolling="no" frameborder="0" style="width:100%; height:100%">
|
|
|
|
|
</iframe>
|
|
|
|
|
</div>
|
|
|
|
|
</div><div id="wm-ipp-inside">
|
|
|
|
|
<div id="wm-toolbar" style="position:relative;display:flex;flex-flow:row nowrap;justify-content:space-between;">
|
|
|
|
|
<div id="wm-logo" style="/*width:110px;*/padding-top:12px;">
|
|
|
|
|
<a href="/web/" title="Wayback Machine home page"><img src="/_static/images/toolbar/wayback-toolbar-logo-200.png" srcset="/_static/images/toolbar/wayback-toolbar-logo-100.png, /_static/images/toolbar/wayback-toolbar-logo-150.png 1.5x, /_static/images/toolbar/wayback-toolbar-logo-200.png 2x" alt="Wayback Machine" style="width:100px" border="0" /></a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="c" style="display:flex;flex-flow:column nowrap;justify-content:space-between;flex:1;">
|
|
|
|
|
<form class="u" style="display:flex;flex-direction:row;flex-wrap:nowrap;" target="_top" method="get" action="/web/submit" name="wmtb" id="wmtb"><input type="text" name="url" id="wmtbURL" value="http://www.nina.jp/server/slackware/webapp/tomcat_charset.html" onfocus="this.focus();this.select();" style="flex:1;"/><input type="hidden" name="type" value="replay" /><input type="hidden" name="date" value="20181003202907" /><input type="submit" value="Go" />
|
|
|
|
|
</form>
|
|
|
|
|
<div style="display:flex;flex-flow:row nowrap;align-items:flex-end;">
|
|
|
|
|
<div class="s" id="wm-nav-captures">
|
|
|
|
|
<a class="t" href="/web/20181003202907*/http://www.nina.jp/server/slackware/webapp/tomcat_charset.html" title="See a list of every capture for this URL">5 captures</a>
|
|
|
|
|
<div class="r" title="Timespan for captures of this URL">10 Jan 2012 - 03 Oct 2018</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="k" style="flex:1;">
|
|
|
|
|
<a href="" id="wm-graph-anchor">
|
|
|
|
|
<div id="wm-ipp-sparkline" title="Explore captures for this URL" style="position: relative">
|
|
|
|
|
<canvas id="wm-sparkline-canvas" width="675" height="27" border="0"></canvas>
|
|
|
|
|
</div>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="n">
|
|
|
|
|
<table>
|
|
|
|
|
<tbody>
|
|
|
|
|
<!-- NEXT/PREV MONTH NAV AND MONTH INDICATOR -->
|
|
|
|
|
<tr class="m">
|
|
|
|
|
<td class="b" nowrap="nowrap"><a href="https://web.archive.org/web/20160912162501/http://www.nina.jp:80/server/slackware/webapp/tomcat_charset.html" title="12 Sep 2016"><strong>Sep</strong></a></td>
|
|
|
|
|
<td class="c" id="displayMonthEl" title="You are here: 20:29:07 Oct 03, 2018">OCT</td>
|
|
|
|
|
<td class="f" nowrap="nowrap">Nov</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<!-- NEXT/PREV CAPTURE NAV AND DAY OF MONTH INDICATOR -->
|
|
|
|
|
<tr class="d">
|
|
|
|
|
<td class="b" nowrap="nowrap"><a href="https://web.archive.org/web/20160912162501/http://www.nina.jp:80/server/slackware/webapp/tomcat_charset.html" title="16:25:01 Sep 12, 2016"><img src="/_static/images/toolbar/wm_tb_prv_on.png" alt="Previous capture" width="14" height="16" border="0" /></a></td>
|
|
|
|
|
<td class="c" id="displayDayEl" style="width:34px;font-size:22px;white-space:nowrap;" title="You are here: 20:29:07 Oct 03, 2018">03</td>
|
|
|
|
|
<td class="f" nowrap="nowrap"><img src="/_static/images/toolbar/wm_tb_nxt_off.png" alt="Next capture" width="14" height="16" border="0" /></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<!-- NEXT/PREV YEAR NAV AND YEAR INDICATOR -->
|
|
|
|
|
<tr class="y">
|
|
|
|
|
<td class="b" nowrap="nowrap"><a href="https://web.archive.org/web/20160912162501/http://www.nina.jp:80/server/slackware/webapp/tomcat_charset.html" title="12 Sep 2016"><strong>2016</strong></a></td>
|
|
|
|
|
<td class="c" id="displayYearEl" title="You are here: 20:29:07 Oct 03, 2018">2018</td>
|
|
|
|
|
<td class="f" nowrap="nowrap">2019</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="r" style="display:flex;flex-flow:column nowrap;align-items:flex-end;justify-content:space-between;">
|
|
|
|
|
<div id="wm-btns" style="text-align:right;height:23px;">
|
|
|
|
|
<span class="xxs">
|
|
|
|
|
<div id="wm-save-snapshot-success">success</div>
|
|
|
|
|
<div id="wm-save-snapshot-fail">fail</div>
|
|
|
|
|
<a id="wm-save-snapshot-open" href="#"
|
|
|
|
|
title="Share via My Web Archive" >
|
|
|
|
|
<span class="iconochive-web"></span>
|
|
|
|
|
</a>
|
|
|
|
|
<a href="https://archive.org/account/login.php" title="Sign In" id="wm-sign-in">
|
|
|
|
|
<span class="iconochive-person"></span>
|
|
|
|
|
</a>
|
|
|
|
|
<span id="wm-save-snapshot-in-progress" class="iconochive-web"></span>
|
|
|
|
|
</span>
|
|
|
|
|
<a class="xxs" href="http://faq.web.archive.org/" title="Get some help using the Wayback Machine" style="top:-6px;"><span class="iconochive-question" style="color:rgb(87,186,244);font-size:160%;"></span></a>
|
|
|
|
|
<a id="wm-tb-close" href="#close" style="top:-2px;" title="Close the toolbar"><span class="iconochive-remove-circle" style="color:#888888;font-size:240%;"></span></a>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="wm-share" class="xxs">
|
|
|
|
|
<a href="/web/20181003202907/http://web.archive.org/screenshot/http://www.nina.jp/server/slackware/webapp/tomcat_charset.html"
|
|
|
|
|
id="wm-screenshot"
|
|
|
|
|
title="screenshot">
|
|
|
|
|
<span class="wm-icon-screen-shot"></span>
|
|
|
|
|
</a>
|
|
|
|
|
<a href="#" id="wm-video" title="video">
|
|
|
|
|
<span class="iconochive-movies"></span>
|
|
|
|
|
</a>
|
|
|
|
|
<a id="wm-share-facebook" href="#" data-url="https://web.archive.org/web/20181003202907/http://www.nina.jp:80/server/slackware/webapp/tomcat_charset.html" title="Share on Facebook" style="margin-right:5px;" target="_blank"><span class="iconochive-facebook" style="color:#3b5998;font-size:160%;"></span></a>
|
|
|
|
|
<a id="wm-share-twitter" href="#" data-url="https://web.archive.org/web/20181003202907/http://www.nina.jp:80/server/slackware/webapp/tomcat_charset.html" title="Share on Twitter" style="margin-right:5px;" target="_blank"><span class="iconochive-twitter" style="color:#1dcaff;font-size:160%;"></span></a>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="padding-right:2px;text-align:right;white-space:nowrap;">
|
|
|
|
|
<a id="wm-expand" class="wm-btn wm-closed" href="#expand" onclick="__wm.ex(event);return false;"><span id="wm-expand-icon" class="iconochive-down-solid"></span> <span class="xxs" style="font-size:80%;">About this capture</span></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="wm-capinfo" style="border-top:1px solid #777;display:none; overflow: hidden">
|
|
|
|
|
<div id="wm-capinfo-collected-by">
|
|
|
|
|
<div style="background-color:#666;color:#fff;font-weight:bold;text-align:center">COLLECTED BY</div>
|
|
|
|
|
<div style="padding:3px;position:relative" id="wm-collected-by-content">
|
|
|
|
|
<div style="display:inline-block;vertical-align:top;width:50%;">
|
|
|
|
|
<span class="c-logo" style="background-image:url(https://archive.org/services/img/alexacrawls);"></span>
|
|
|
|
|
Organization: <a style="color:#33f;" href="https://archive.org/details/alexacrawls" target="_new"><span class="wm-title">Alexa Crawls</span></a>
|
|
|
|
|
<div style="max-height:75px;overflow:hidden;position:relative;">
|
|
|
|
|
<div style="position:absolute;top:0;left:0;width:100%;height:75px;background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 90%,rgba(255,255,255,255) 100%);"></div>
|
|
|
|
|
Starting in 1996, <a href="http://www.alexa.com/">Alexa Internet</a> has been donating their crawl data to the Internet Archive. Flowing in every day, these data are added to the <a href="http://web.archive.org/">Wayback Machine</a> after an embargo period.
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="display:inline-block;vertical-align:top;width:49%;">
|
|
|
|
|
<span class="c-logo" style="background-image:url(https://archive.org/services/img/alexacrawls)"></span>
|
|
|
|
|
<div>Collection: <a style="color:#33f;" href="https://archive.org/details/alexacrawls" target="_new"><span class="wm-title">Alexa Crawls</span></a></div>
|
|
|
|
|
<div style="max-height:75px;overflow:hidden;position:relative;">
|
|
|
|
|
<div style="position:absolute;top:0;left:0;width:100%;height:75px;background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 90%,rgba(255,255,255,255) 100%);"></div>
|
|
|
|
|
Starting in 1996, <a href="http://www.alexa.com/">Alexa Internet</a> has been donating their crawl data to the Internet Archive. Flowing in every day, these data are added to the <a href="http://web.archive.org/">Wayback Machine</a> after an embargo period.
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="wm-capinfo-timestamps">
|
|
|
|
|
<div style="background-color:#666;color:#fff;font-weight:bold;text-align:center" title="Timestamps for the elements of this page">TIMESTAMPS</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div id="wm-capresources" style="margin:0 5px 5px 5px;max-height:250px;overflow-y:scroll !important"></div>
|
|
|
|
|
<div id="wm-capresources-loading" style="text-align:left;margin:0 20px 5px 5px;display:none"><img src="/_static/images/loading.gif" alt="loading" /></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div></div></div></div><div id="wm-ipp-print">The Wayback Machine - https://web.archive.org/web/20181003202907/http://www.nina.jp:80/server/slackware/webapp/tomcat_charset.html</div>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
__wm.bt(675,27,25,2,"web","http://www.nina.jp/server/slackware/webapp/tomcat_charset.html","20181003202907",1996,"/_static/",["/_static/css/banner-styles.css?v=fantwOh2","/_static/css/iconochive.css?v=qtvMKcIJ"], false);
|
|
|
|
|
__wm.rw(1);
|
|
|
|
|
</script>
|
|
|
|
|
<!-- END WAYBACK TOOLBAR INSERT -->
|
|
|
|
|
<p class="dig1"><span class="title1">Tomcat<EFBFBD><EFBFBD>UTF-8/EUC-JP<4A><50><EFBFBD>Ȥ<EFBFBD></span></p>
|
|
|
|
|
<p class="dig1">
|
|
|
|
|
[<a href="/web/20181003202907/http://www.nina.jp/server/index-slackware.html"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Фμ¸<EFBFBD><EFBFBD><EFBFBD> Slackware</a>]
|
|
|
|
|
</p>
|
|
|
|
|
<p class="right">
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> : 2004/12/31
|
|
|
|
|
</p>
|
|
|
|
|
<form action="/web/20181003202907/http://www.nina.jp/namazu/namazu.cgi" method="get">
|
|
|
|
|
<p class="right">
|
|
|
|
|
"<22><><EFBFBD><EFBFBD><EFBFBD>Фμ¸<CEBC><C2B8><EFBFBD>"<22>θ<EFBFBD><CEB8><EFBFBD>
|
|
|
|
|
<input type="text" name="query" size="25" value=""/>
|
|
|
|
|
<input type="submit" value="<22><><EFBFBD><EFBFBD>"/>
|
|
|
|
|
<input type="reset" value="<22><><EFBFBD>ꥢ"/>
|
|
|
|
|
</p>
|
|
|
|
|
</form>
|
|
|
|
|
<hr/>
|
|
|
|
|
|
|
|
|
|
<p class="dig2">
|
|
|
|
|
Tomcat<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD><EFBFBD><EFBFBD>륭<EFBFBD><EFBFBD><EFBFBD>饯<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>åȤξ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD><span class="bold">httpd.conf</span><EFBFBD>Υ롼<EFBFBD>Ȥǻ<EFBFBD><EFBFBD>ꤷ<EFBFBD><EFBFBD>AddDefaultCharset<EFBFBD><EFBFBD><EFBFBD>ͤ<EFBFBD>Ʊ<EFBFBD><EFBFBD><EFBFBD>ˤʤ<EFBFBD><EFBFBD>餷<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
Directory<EFBFBD>ǥ<EFBFBD><EFBFBD>쥯<EFBFBD>ƥ<EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǻ<EFBFBD><EFBFBD>ꤷ<EFBFBD><EFBFBD>AddDefaultCharset<EFBFBD><EFBFBD>̵<EFBFBD>뤵<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>äݤ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
<EFBFBD>Ĥ<EFBFBD><EFBFBD>Ǥˡ<EFBFBD>meta<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̵<EFBFBD>뤵<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
<span class="blue"><EFBFBD><EFBFBD><---<2D><><EFBFBD>Τؤ<D8A4><F3A1A2B8>Ҥ<EFBFBD>SetCharacterEncodingFilter<65><72><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ư<EFBFBD><EFBFBD>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD>Ȥ⤢<C8A4>ꡢ<EFBFBD><EAA1A2><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD>...<2E><></span>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p class="dig2">
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>WEB<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Фϥ롼<EFBFBD>Ȥ<EFBFBD>AddDefaultCharset<EFBFBD><EFBFBD>EUC-JP<4A><50><EFBFBD><EFBFBD><EFBFBD>Ƥ<F2A4B7A4><C6A4>ꡢ<EFBFBD><EAA1A2><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><C6A5><EFBFBD><EFBFBD>ȥѥ<C8A5><D1A5>ʲ<EFBFBD><CAB2><EFBFBD>UTF-8<>ˤ<EFBFBD><CBA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τǡ<CEA4><C7A1>ʤ<EFBFBD><CAA4>餫<EFBFBD><E9A4AB><EFBFBD>к<EFBFBD><D0BA>ʤ<F2A4B7A4><CAA4><EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p class="dig1"><span class="title2"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD>åȤξ<EFBFBD><EFBFBD><EFBFBD></span></p>
|
|
|
|
|
<p class="dig2">
|
|
|
|
|
<span class="bold">response.setContentType</span><EFBFBD>ǥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>饯<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>åȤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤹ<EFBFBD>롣
|
|
|
|
|
EUC-JP<4A><50><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD><EFBFBD>ʤ顢response.setContentType("text/html; <span class="bold">charset=EUC-JP</span>")<29><>
|
|
|
|
|
UTF-8<><38><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD><EFBFBD>ʤ顢response.setContentType("text/html; <span class="bold">charset=UTF-8</span>")<29><>
|
|
|
|
|
</p>
|
|
|
|
|
<pre class="dig3 text">
|
|
|
|
|
# HelloWorld.java
|
|
|
|
|
|
|
|
|
|
import java.io.*;
|
|
|
|
|
import java.text.*;
|
|
|
|
|
import java.util.*;
|
|
|
|
|
import javax.servlet.*;
|
|
|
|
|
import javax.servlet.http.*;
|
|
|
|
|
|
|
|
|
|
public class HelloWorld extends HttpServlet {
|
|
|
|
|
|
|
|
|
|
public void doGet(HttpServletRequest request,
|
|
|
|
|
HttpServletResponse response)
|
|
|
|
|
throws IOException, ServletException
|
|
|
|
|
{
|
|
|
|
|
<span class="red">response.setContentType("text/html; charset=EUC-JP");</span>
|
|
|
|
|
PrintWriter out = response.getWriter();
|
|
|
|
|
|
|
|
|
|
out.println("<html>");
|
|
|
|
|
out.println("<head>");
|
|
|
|
|
out.println("<title>HelloWorld</title>");
|
|
|
|
|
out.println("</head>");
|
|
|
|
|
out.println("<body>");
|
|
|
|
|
out.println("<p>");
|
|
|
|
|
out.println("<22><><EFBFBD><EFBFBD><EFBFBD>ˤ<EFBFBD><CBA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
|
|
|
|
out.println("</p>");
|
|
|
|
|
out.println("</body>");
|
|
|
|
|
out.println("</html>");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</pre>
|
|
|
|
|
<p class="dig2">
|
|
|
|
|
JAVA<EFBFBD><EFBFBD>UTF-8<>ǽ<EFBFBD><C7BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><D4A4>Τǡ<CEA4><C7A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʳ<EFBFBD><CAB3><EFBFBD>EUC-JP<4A>ʤɤ<CAA4><C9A4><EFBFBD><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD><CFA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѥ<EFBFBD><D1A5>뤹<EFBFBD><EBA4B9><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD><span class="bold">-encoding</span><EFBFBD><EFBFBD><EFBFBD>Ĥ<EFBFBD><EFBFBD>뤳<EFBFBD>ȡ<EFBFBD>
|
|
|
|
|
</p>
|
|
|
|
|
<pre class="dig3 shell">
|
|
|
|
|
# <span class="bold">javac <span class="red">-encoding EUC-JP</span> -classpath .:$CATALINA_HOME/common/lib/servlet-api.jar HelloWorld.java</span>
|
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
|
|
<p class="dig1"><span class="title2">JSP<EFBFBD>ξ<EFBFBD><EFBFBD><EFBFBD></span></p>
|
|
|
|
|
<p class="dig2">
|
|
|
|
|
<EFBFBD>ǥ<EFBFBD><EFBFBD>쥯<EFBFBD>ƥ<EFBFBD><EFBFBD>֤ǥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>饯<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>åȤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤹ<EFBFBD>롣
|
|
|
|
|
EUC-JP<4A><50><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD><EFBFBD>ʤ顢<%@ page contentType="text/html; <span class="bold">charset=EUC-JP</span>" %><EFBFBD><EFBFBD>
|
|
|
|
|
UTF-8<><38><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD><EFBFBD>ʤ顢<%@ page contentType="text/html; <span class="bold">charset=UTF-8</span>" %><EFBFBD><EFBFBD>
|
|
|
|
|
</p>
|
|
|
|
|
<pre class="dig3 text">
|
|
|
|
|
# hello.jsp
|
|
|
|
|
|
|
|
|
|
<span class="red"><%@ page contentType="text/html; charset=EUC-JP" %></span>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<title>HelloWorld</title>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<p>
|
|
|
|
|
<%
|
|
|
|
|
out.println("<22><><EFBFBD><EFBFBD><EFBFBD>ˤ<EFBFBD><CBA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
|
|
|
|
%>
|
|
|
|
|
</p>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
|
|
<p class="dig1"><span class="title2"><EFBFBD><EFBFBD>Ū<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><EFBFBD>ġ<EFBFBD>HTML<EFBFBD>ˤξ<EFBFBD><EFBFBD><EFBFBD></span></p>
|
|
|
|
|
<p class="dig2">
|
|
|
|
|
<span class="bold">workers2.propeties</span><EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȥѥ<EFBFBD><EFBFBD>ʲ<EFBFBD><EFBFBD>Τ<EFBFBD><EFBFBD>٤ƤΥե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Tomcat<EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><EFBFBD>褦<EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>硢<EFBFBD><EFBFBD>Ū<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><EFBFBD>ĤˤĤ<EFBFBD><EFBFBD>Ƥ⤳<EFBFBD>Υڡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƭ<EFBFBD>˽<EFBFBD><EFBFBD>褦<EFBFBD>ʥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>饯<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>åȾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD><EFBFBD><EFBFBD>롣
|
|
|
|
|
HTML<EFBFBD><EFBFBD>meta<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>charset<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD>Ƥ<EFBFBD>̵<EFBFBD>뤵<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τǡ<EFBFBD><EFBFBD>ɥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȥ롼<EFBFBD>Ȥȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȥѥ<EFBFBD><EFBFBD>ǰۤʤ륭<EFBFBD><EFBFBD><EFBFBD>饯<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>åȤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>դ<EFBFBD>ɬ<EFBFBD>ס<EFBFBD>
|
|
|
|
|
</p>
|
|
|
|
|
<pre class="dig3 text">
|
|
|
|
|
# workers2.properties
|
|
|
|
|
|
|
|
|
|
[uri:/hoge/*] <span class="blue"><---<2D><><EFBFBD>٤ƤΥե<CEA5><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Tomcat<61>˽<EFBFBD><CBBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></span>
|
|
|
|
|
</pre>
|
|
|
|
|
<p class="dig2">
|
|
|
|
|
<EFBFBD>̾<EFBFBD><EFBFBD><EFBFBD><span class="bold">SetCharacterEncodingFilter</span><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤΤ褦<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>äƤ<EFBFBD>charset<EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD>Τǡ<EFBFBD><span class="bold">web.xml</span><EFBFBD><EFBFBD><span class="bold"><mime-mapping></span><EFBFBD><EFBFBD>charset<EFBFBD>ȳ<EFBFBD>ĥ<EFBFBD>Ҥδ<EFBFBD>Ϣ<EFBFBD>դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
</p>
|
|
|
|
|
<pre class="dig3 text">
|
|
|
|
|
<!--<2D>ʥ<EFBFBD><CAA5><EFBFBD><EFBFBD>ƥ<EFBFBD><C6A5><EFBFBD><EFBFBD>ȥѥ<C8A5><D1A5><EFBFBD>/WEB-INF/web.xml-->
|
|
|
|
|
|
|
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
|
<!DOCTYPE web-app
|
|
|
|
|
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
|
|
|
|
|
"http://java.sun.com/dtd/web-app_2_3.dtd">
|
|
|
|
|
<web-app>
|
|
|
|
|
<span class="red"> <mime-mapping>
|
|
|
|
|
<extension>html</extension>
|
|
|
|
|
<mime-type>text/html; charset=UTF-8</mime-type>
|
|
|
|
|
</mime-mapping></span>
|
|
|
|
|
</web-app>
|
|
|
|
|
</pre>
|
|
|
|
|
<p class="dig2">
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span class="bold">SetCharacterEncodingFilter</span><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˡ<EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD>$CATALINA_HOME/webapps/jsp-examples/WEB-INF/classes/filters<72>ǥ<EFBFBD><C7A5>쥯<EFBFBD>ȥ<EFBFBD><C8A5>ˤ<EFBFBD><CBA4><EFBFBD><span class="bold">SetCharacterEncodingFilter.java</span><EFBFBD><EFBFBD><EFBFBD>ѥ<EFBFBD><EFBFBD>뤷<EFBFBD>ơ<EFBFBD>
|
|
|
|
|
</p>
|
|
|
|
|
<pre class="dig3 shell">
|
|
|
|
|
# <span class="bold">cd $CATALINA_HOME/webapps/jsp-examples/WEB-INF/classes</span>
|
|
|
|
|
# <span class="bold">javac -classpath .:$CATALINA_HOME/common/lib/servlet-api.jar filters.SetCharacterEncodingFilter.java</span>
|
|
|
|
|
</pre>
|
|
|
|
|
<p class="dig2">
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>줿<EFBFBD><EFBFBD><EFBFBD>饹<EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><span class="bold"><EFBFBD>ʥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȥѥ<EFBFBD><EFBFBD><EFBFBD>/WEB-INF/classes/filters</span><EFBFBD>ǥ<EFBFBD><EFBFBD>쥯<EFBFBD>ȥ<EFBFBD><EFBFBD>˥<EFBFBD><EFBFBD>ԡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD><span class="bold"><EFBFBD>ʥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȥѥ<EFBFBD><EFBFBD><EFBFBD>/WEB-INF/web.xml</span><EFBFBD>˥ե<EFBFBD><EFBFBD>륿<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>餷<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
</p>
|
|
|
|
|
<pre class="dig3 text">
|
|
|
|
|
<!--<2D>ʥ<EFBFBD><CAA5><EFBFBD><EFBFBD>ƥ<EFBFBD><C6A5><EFBFBD><EFBFBD>ȥѥ<C8A5><D1A5><EFBFBD>/WEB-INF/web.xml-->
|
|
|
|
|
|
|
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
|
<!DOCTYPE web-app
|
|
|
|
|
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
|
|
|
|
|
"http://java.sun.com/dtd/web-app_2_3.dtd">
|
|
|
|
|
<web-app>
|
|
|
|
|
<span class="red"><filter>
|
|
|
|
|
<filter-name>Set Character Encoding</filter-name>
|
|
|
|
|
<filter-class>filters.SetCharacterEncodingFilter</filter-class>
|
|
|
|
|
<init-param>
|
|
|
|
|
<param-name>encoding</param-name>
|
|
|
|
|
<param-value>UTF-8</param-value>
|
|
|
|
|
</init-param>
|
|
|
|
|
</filter>
|
|
|
|
|
<filter-mapping>
|
|
|
|
|
<filter-name>Set Character Encoding</filter-name>
|
|
|
|
|
<url-pattern>/*</url-pattern>
|
|
|
|
|
</filter-mapping></span>
|
|
|
|
|
</web-app>
|
|
|
|
|
</pre>
|
|
|
|
|
<p class="dig2">
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
|
<p class="dig1">
|
|
|
|
|
[<a href="/web/20181003202907/http://www.nina.jp/server/index-slackware.html"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Фμ¸<EFBFBD><EFBFBD><EFBFBD> Slackware</a>]
|
|
|
|
|
</p>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
FILE ARCHIVED ON 20:29:07 Oct 03, 2018 AND RETRIEVED FROM THE
|
|
|
|
|
INTERNET ARCHIVE ON 23:27:21 Mar 21, 2022.
|
|
|
|
|
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
|
|
|
|
|
|
|
|
|
|
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
|
|
|
|
|
SECTION 108(a)(3)).
|
|
|
|
|
-->
|
|
|
|
|
<!--
|
|
|
|
|
playback timings (ms):
|
|
|
|
|
captures_list: 133.209
|
|
|
|
|
exclusion.robots: 0.289
|
|
|
|
|
exclusion.robots.policy: 0.278
|
|
|
|
|
RedisCDXSource: 6.152
|
|
|
|
|
esindex: 0.009
|
|
|
|
|
LoadShardBlock: 108.809 (3)
|
|
|
|
|
PetaboxLoader3.datanode: 290.581 (4)
|
|
|
|
|
CDXLines.iter: 15.789 (3)
|
|
|
|
|
load_resource: 242.738
|
|
|
|
|
PetaboxLoader3.resolve: 57.13
|
|
|
|
|
-->
|