<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.3//EN" "document-v13.dtd">
<document>
&#9;<header>
&#9;&#9;<title>struts&#12398;&#22522;&#26412;&#12398;&#22522;&#26412;</title>
&#9;&#9;<authors>
&#9;&#9;&#9;<person email="chikkun@chikkun.com" name="&#30693;&#20037;&#21644;&#37070;"/>
&#9;&#9;</authors>
&#9;&#9;<abstract>&#12392;&#12426;&#12354;&#12360;&#12378;&#35443;&#32048;&#12399;&#36991;&#12369;&#12390;&#12289;&#12392;&#12426;&#12354;&#12360;&#12378;&#21205;&#12363;&#12375;&#12390;&#12289;&#12384;&#12356;&#12383;&#12356;&#12398;&#27969;&#12428;&#12434;&#25276;&#12373;&#12360;&#12414;&#12375;&#12423;&#12358;!</abstract>
&#9;</header>
&#9;<body>
&#9;&#9;<section>
&#9;&#9;&#9;<title>struts&#12398;&#21205;&#20316;&#30906;&#35469;</title>
&#9;&#9;&#9;<p class="chapter"> 
&#9;&#9;&#9;&#9;&#12371;&#12371;&#12391;&#12399;&#27425;&#12398;&#12424;&#12358;&#12394;&#31777;&#21336;&#12394;&#12289;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12434;&#20316;&#25104;&#12375;&#12390;&#12289;&#12375;&#12387;&#12363;&#12426;&#21205;&#12367;&#12363;&#12393;&#12358;&#12363;&#12392;&#12289;struts&#12434;&#20351;&#12387;&#12383;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12398;&#20316;&#25104;&#12398;&#12384;&#12356;&#12383;&#12356;&#12398;&#25163;&#38918;&#12434;&#35226;&#12360;&#12390;&#12375;&#12414;&#12362;&#12358;(&#23455;&#38555;&#12398;&#12418;&#12387;&#12392;&#38627;&#12375;&#12356;&#35441;&#12399;&#12414;&#12383;&#24460;&#12391;)&#12290;</p>
&#9;&#9;&#9;<ol class="chapter">
&#9;&#9;&#9;&#9;<li>html&#12398;&#12501;&#12451;&#12540;&#12523;&#12489;&#12364;1&#12388;&#12375;&#12363;&#12394;&#12356;&#12501;&#12457;&#12540;&#12512;&#12395;&#21517;&#21069;&#12434;&#20837;&#21147;&#12373;&#12379;&#12390;&#12289;&#23455;&#34892;&#12508;&#12479;&#12531;&#12434;&#12463;&#12522;&#12483;&#12463;&#12377;&#12427;&#12290;</li>
&#9;&#9;&#9;&#9;<li>&#12381;&#12375;&#12383;&#12425;&#12289;&#12300;&#12371;&#12435;&#12395;&#12385;&#12399;&#12289;&#65311;&#65311;&#65311;&#12373;&#12435;&#12301;&#12392;&#12356;&#12358;&#12506;&#12540;&#12472;&#12395;&#36983;&#31227;&#12377;&#12427;(&#65311;&#65311;&#65311;&#12398;&#12392;&#12371;&#12429;&#12395;&#12289;&#20808;&#12411;&#12393;&#12398;&#21517;&#21069;&#12364;&#20837;&#12427;)&#12290;</li>
&#9;&#9;&#9;&#9;<li> 
&#9;&#9;&#9;&#9;&#9;&#12418;&#12375;&#12289;&#12501;&#12457;&#12540;&#12512;&#12395;&#20309;&#12418;&#20837;&#12428;&#12394;&#12356;&#12363;&#12289;&#25110;&#12356;&#12399;11&#25991;&#23383;&#20197;&#19978;&#12364;&#20837;&#21147;&#12373;&#12428;&#12383;&#12425;&#12289;&#12456;&#12521;&#12540;&#12506;&#12540;&#12472;&#12395;&#36983;&#31227;&#12375;&#12390;&#12289;&#12381;&#12398;&#12456;&#12521;&#12540;&#12398;&#31278;&#39006;&#12434;&#25552;&#31034;&#12377;&#12427;&#12290;</li>
&#9;&#9;&#9;</ol>
&#9;&#9;&#9;<p class="chapter"> 
&#9;&#9;&#9;&#9;&#12383;&#12387;&#12383;&#12371;&#12428;&#12384;&#12369;&#12398;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12290;&#36870;&#12395;&#12371;&#12435;&#12394;&#12395;&#21336;&#32020;&#12394;&#12418;&#12398;&#12434;&#20316;&#25104;&#12377;&#12427;&#12398;&#12395;&#32080;&#27083;&#38754;&#20498;&#12384;&#12394;&#12289;&#12392;&#12356;&#12358;&#12398;&#12364;&#22823;&#26041;&#12398;&#24863;&#24819;&#12363;&#12418;&#12375;&#12428;&#12414;&#12379;&#12435;&#12364;&#12289;&#12381;&#12435;&#12394;&#21336;&#32020;&#12394;&#20869;&#23481;&#12398;&#20181;&#20107;&#12394;&#12393;&#12394;&#12356;&#12391;&#12375;&#12423;&#12358;&#12375;&#12289;&#35079;&#38609;&#12394;&#12418;&#12398;&#12434;&#20316;&#12427;&#22580;&#21512;&#12395;&#12399;&#12289;&#12354;&#12427;&#31243;&#24230;&#12398;&#25163;&#38918;&#12392;&#12356;&#12358;&#12418;&#12398;&#12364;&#12354;&#12387;&#12383;&#26041;&#12364;&#32080;&#23616;&#27005;&#12384;&#12387;&#12383;&#12426;&#12377;&#12427;&#12431;&#12369;&#12391;&#12289;&#29305;&#12395;&#24460;&#21322;&#12399;&#12300;&#12362;&#27770;&#12414;&#12426;&#12301;&#12392;&#12356;&#12358;&#12371;&#12392;&#12391;&#25163;&#38918;&#12434;&#35226;&#12360;&#12390;&#12367;&#12384;&#12373;&#12356;&#12290;</p>
&#9;&#9;&#9;<p>&#12356;&#12378;&#12428;&#12395;&#12375;&#12429;&#12289;&#20170;&#22238;&#12399;&#27425;&#12398;&#28857;&#12434;&#12375;&#12387;&#12363;&#12426;(&#12371;&#12398;&#12506;&#12540;&#12472;&#20197;&#22806;&#12398;&#26412;&#12420;&#20182;&#12398;&#12507;&#12540;&#12512;&#12506;&#12540;&#12472;&#12391;)&#21193;&#24375;&#12375;&#12390;&#12367;&#12384;&#12373;&#12356;&#12290;</p>
&#9;&#9;&#9;<ol class="chapter">
&#9;&#9;&#9;&#9;<li>web.xml&#12398;&#26360;&#12365;&#26041;</li>
&#9;&#9;&#9;&#9;<li>struts-config.xml&#12398;&#26360;&#12365;&#26041;</li>
&#9;&#9;&#9;&#9;<li>struts&#12398;action&#12398;&#26360;&#12365;&#26041;</li>
&#9;&#9;&#9;&#9;<li>struts&#12398;form&#12398;&#26360;&#12365;&#26041;</li>
&#9;&#9;&#9;&#9;<li>action&#12392;form&#12398;&#38306;&#20418;</li>
&#9;&#9;&#9;&#9;<li>validate(&#20837;&#21147;&#12373;&#12428;&#12383;&#20516;&#12398;&#26908;&#35388;)&#12398;&#20181;&#26041;</li>
&#9;&#9;&#9;&#9;<li>JSP&#12398;&#26360;&#12365;&#26041;</li>
&#9;&#9;&#9;&#9;<li>struts&#12398;JSP&#12395;&#12362;&#12369;&#12427;&#12479;&#12464;&#12398;&#26360;&#12365;&#26041;</li>
&#9;&#9;&#9;</ol>
&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;<title>&#12480;&#12454;&#12531;&#12525;&#12540;&#12489;&#12392;&#23637;&#38283;</title>
&#9;&#9;&#9;&#9;<p class="section">&#12414;&#12378;&#12399;<link href="http://struts.apache.org/download.cgi">struts&#12398;&#12480;&#12454;&#12531;&#12525;&#12540;&#12489;&#12469;&#12452;&#12488;</link>&#12395;&#12450;&#12463;&#12475;&#12473;&#12375;&#12289;jakarta-struts-1.2.4.tar.gz&#12434;&#12480;&#12454;&#12531;&#12525;&#12540;&#12489;&#12290;</p>
&#9;&#9;&#9;&#9;<p class="section">&#12371;&#12428;&#12434;&#12393;&#12371;&#12363;&#36969;&#24403;&#12394;&#12392;&#12371;&#12429;&#12395;&#35299;&#20941;&#12375;&#12390;&#12362;&#12367;&#12290;</p>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>eclipse&#12391;&#26032;&#35215;&#12503;&#12525;&#12472;&#12455;&#12463;&#12488;</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;eclipse&#12398;File&#12513;&#12491;&#12517;&#12540;&#12363;&#12425;&#12289;&#26032;&#35215;-&gt;&#12503;&#12525;&#12472;&#12455;&#12463;&#12488;&#12434;&#36984;&#12435;&#12391;&#12289;</p>
&#9;&#9;&#9;&#9;&#9;<ul class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<li> Tomcat&#12503;&#12525;&#12472;&#12455;&#12463;&#12488;&#12434;&#36984;&#12403;&#12289; <img src="newProject.jpg" alt="&#26032;&#35215;&#12503;&#12525;&#12472;&#12455;&#12463;&#12488;1"/></li>
&#9;&#9;&#9;&#9;&#9;&#9;<li> &#12503;&#12525;&#12472;&#12455;&#12463;&#12488;&#21517;&#12434;webcms&#12395;&#65288;&#12392;&#12426;&#12354;&#12360;&#12378;)&#12375;&#12390;&#12289; <img src="newProject2.jpg" alt="&#26032;&#35215;&#12503;&#12525;&#12472;&#12455;&#12463;&#12488;3"/></li>
&#9;&#9;&#9;&#9;&#9;&#9;<li> &#12392;&#12395;&#12363;&#12367;&#32066;&#20102;&#12508;&#12479;&#12531;&#12434;&#25276;&#12377;&#12290; </li>
&#9;&#9;&#9;&#9;&#9;</ul>
&#9;&#9;&#9;&#9;&#9;<p class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<img src="newProject3.jpg" alt="&#26032;&#35215;&#12503;&#12525;&#12472;&#12455;&#12463;&#12488;3"/>
&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12377;&#12427;&#12392;&#12289;&#27425;&#12398;&#12424;&#12358;&#12394;(&#12385;&#12423;&#12387;&#12392;&#35211;&#12389;&#12425;&#12356;&#12369;&#12428;&#12393;)webcms&#12392;&#12356;&#12358;&#12398;&#12364;&#12490;&#12499;&#12466;&#12540;&#12479;&#12395;&#29694;&#12428;&#12414;&#12377;&#12290; </p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<img src="webCms.jpg" alt="&#26032;&#35215;&#12503;&#12525;&#12472;&#12455;&#12463;&#12488;4"/>
&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;</section>
&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;<title>web.xml&#12398;&#20316;&#25104;</title>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title> eclipse&#12398;xml&#29992;&#12398;&#12503;&#12521;&#12464;&#12452;&#12531;(EclipseHTMLEditor)&#12434;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;web.xml&#12394;&#12393;&#12434;&#32232;&#38598;&#12377;&#12427;&#12398;&#12395;(&#21029;&#12395;&#12456;&#12487;&#12451;&#12479;&#12391;&#12418;&#12363;&#12414;&#12431;&#12394;&#12356;&#12398;&#12391;&#12289;&#24517;&#35201;&#12434;&#24863;&#12376;&#12394;&#12369;&#12428;&#12400;&#12371;&#12371;&#12399;&#39131;&#12400;&#12375;&#12390;OK)&#12289; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<link href="https://sourceforge.jp/projects/amateras/files/">
&#9;&#9;&#9;&#9;&#9;&#9;&#9; eclipse&#12503;&#12521;&#12464;&#12452;&#12531;Xml&#12456;&#12487;&#12451;&#12479;(&#12354;&#12414;&#12390;&#12425;&#12377;)</link>
&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12363;&#12425;tk.eclipse.plugin.htmleditor_1.6.4.zip&#12434;&#12480;&#12454;&#12531;&#12525;&#12540;&#12489;&#12289;&#12381;&#12375;&#12390;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;<code>c:/eclipse</code>&#12395;&#23637;&#38283;&#12290;eclipse&#12364;&#31435;&#12385;&#19978;&#12364;&#12387;&#12390;&#12356;&#12427;&#22580;&#21512;&#12395;&#12399;&#12289;&#20877;&#36215;&#21205;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>&#23455;&#38555;&#12398;&#20316;&#25104;</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;eclipse&#12398;&#12513;&#12491;&#12517;&#12540;&#12363;&#12425;(&#33258;&#20998;&#12398;&#12456;&#12487;&#12451;&#12479;&#12434;&#20351;&#12358;&#22580;&#21512;&#12399;&#19979;&#12398;&#12418;&#12398;&#12434;&#20840;&#12390;&#12467;&#12500;&#12506;&#12375;&#12390;&#12418;OK) </p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#26032;&#35215;-&gt;&#12381;&#12398;&#20182;-&gt;HTML-&gt;xml </p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12434;&#36984;&#12403;&#12289;&#12501;&#12449;&#12452;&#12523;&#21517;&#12434;web.xml&#12392;&#20837;&#21147;&#12375;&#12390;&#12289;&#12300;&#27425;&#12408;&#12301;&#12434;&#12463;&#12522;&#12483;&#12463;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#27425;&#12395;&#12289;DTD&#12434;&#20844;&#38283;&#12377;&#12427;&#12434;&#12481;&#12455;&#12483;&#12463;&#12375;&#12289; </p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#20844;&#38283;ID&#65306;<code>-//Sun Microsystems, 
&#9;&#9;&#9;&#9;&#9;&#9;Inc.//DTD Web Application 2.3//EN</code> </p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12471;&#12473;&#12486;&#12512;ID&#65306;<code>http://java.sun.com/dtd/web-app_2_3.dtd</code> 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12392;&#20837;&#21147;&#12375;&#12390;&#12289;&#32066;&#20102;&#12508;&#12479;&#12531;&#12434;&#12463;&#12522;&#12483;&#12463;&#12377;&#12427;&#12392;&#12289;&#27425;&#12398;&#12424;&#12358;&#12394;&#12501;&#12449;&#12452;&#12523;&#12364;&#12391;&#12365;&#12427;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<?xml version="1.0" encoding="Windows-31J"?>
<!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>
</web-app> ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;encoding&#12399;MS932&#12394;&#12393;&#12392;&#12394;&#12387;&#12390;&#12356;&#12427;&#21487;&#33021;&#24615;&#12418;&#12354;&#12426;&#12414;&#12377;&#12364;&#12289;&#12381;&#12428;&#12399;eclipse&#12398;&#12487;&#12501;&#12457;&#12523;&#12488;&#12398;encoding&#12391;&#12289;&#12416;&#12375;&#12429;&#12381;&#12398;eclipse&#12398;encoding&#12434;&#22793;&#26356;&#12375;&#12383;&#26041;&#12364;&#12424;&#12356;&#12363;&#12418;(&#12383;&#12384;&#12375;&#22793;&#26356;&#12398;&#38555;&#12289;&#36984;&#25246;&#32930;&#12395;&#12394;&#12356;&#12398;&#12391;&#30452;&#25509;&#20837;&#21147;&#12377;&#12427;&#24517;&#35201;&#12364;&#12354;&#12426;&#12414;&#12377;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12371;&#12428;&#12395;&#12289;&#26368;&#20302;&#38480;&#12398;&#35373;&#23450;&#12434;&#12414;&#12378;&#26360;&#12365;&#36796;&#12435;&#12391;&#12356;&#12367;&#12290;&#23455;&#38555;&#12395;&#12399;&#12289;&#20197;&#19979;&#12398;&#12424;&#12358;&#12395;&#12394;&#12426;&#12414;&#12377;(&#22810;&#23569;&#12398;&#35500;&#26126;&#12399;&#24460;&#12395;&#12375;&#12414;&#12377;)&#12290; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<?xml version="1.0" encoding="Windows-31J"?>
<!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>
  <display-name>Web CMS</display-name>
  <description>
    Web CMS created by Chikkun with Tomcat and Struts
  </description>
  <filter>
    <filter-name>Set Character Encoding</filter-name>
    <description>character_encoding></description>
<filter-class>com.chikkun.common.SetCharacterEncodingFilter</filter-class>
  <init-param>
    <param-name>encoding</param-name>
    <param-value>Windows-31J</param-value>
  </init-param>
</filter>
<filter-mapping>
  <filter-name>Set Character Encoding</filter-name>
  <url-pattern>/*</url-pattern>
</filter-mapping>
<servlet>
  <servlet-name>action</servlet-name>
  <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
  <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
  </init-param>
  <load-on-startup>1</load-on-startup>
</servlet>

<servlet-mapping>
  <servlet-name>action</servlet-name>
  <url-pattern>/action/*</url-pattern>
</servlet-mapping>
<welcome-file-list>
  <welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<taglib>
  <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
  <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
  <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
  <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
  <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
  <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
  <taglib-uri>/WEB-INF/pager-taglib.tld</taglib-uri>
  <taglib-location>/WEB-INF/pager-taglib.tld</taglib-location>
</taglib>
<taglib>
  <taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri>
  <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
</taglib>

<taglib>
  <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
  <taglib-location>/WEB-INF/struts-template.tld</taglib-location>
</taglib>
</web-app>
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<ul class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<li><p>display-name&#12392;description&#12479;&#12464;&#12399;&#12300;Tomcat 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;Web&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12510;&#12493;&#12540;&#12472;&#12515;&#12301;&#12395;&#20351;&#12431;&#12428;&#12427;&#12290;</p>&#19979;&#12398;&#34920;&#31034;&#21517;&#12290; <p><img src="manager.jpg" alt="Tomcat"/></p> </li>
&#9;&#9;&#9;&#9;&#9;&#9;<li>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;<p> 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;filter&#12392;&#12356;&#12358;&#12398;&#12399;&#12289;&#12371;&#12371;&#12391;&#12399;&#35443;&#12375;&#12367;&#12399;&#35302;&#12428;&#12414;&#12379;&#12435;&#12364;&#12289;&#12371;&#12428;&#12434;&#26360;&#12356;&#12390;&#12362;&#12365;&#12289;&#24460;&#36848;&#12377;&#12427;&#23455;&#38555;&#12398;filter&#12392;&#12356;&#12358;&#12463;&#12521;&#12473;&#12434;&#20316;&#12427;&#12392;&#12289;&#26085;&#26412;&#35486;&#12364;&#21270;&#12369;&#12394;&#12367;&#12390;&#12415;&#12435;&#12394;&#24184;&#12379;&#12395;&#12394;&#12428;&#12427;&#12398;&#12391;&#12375;&#12383;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;&#9;</li>
&#9;&#9;&#9;&#9;&#9;&#9;<li>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;<p> 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;servlet&#12399;&#20170;&#22238;&#12398;struts&#12398;&#12511;&#12477;&#12290;&#12371;&#12428;&#12395;&#12424;&#12387;&#12390;&#12289;struts&#12395;&#12424;&#12427;servlet&#12434;&#36215;&#21205;&#12377;&#12427;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<servlet>
  <servlet-name>action</servlet-name>
  <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
  <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
  </init-param>
  <load-on-startup>1</load-on-startup>
</servlet>
 ]]></source>
&#9;&#9;&#9;&#9;&#9;&#9;</li>
&#9;&#9;&#9;&#9;&#9;&#9;<li>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;<p> welcome-file-list&#12399;&#21336;&#12395;&#12289;apache&#12398; </p>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ DirectoryIndex index.php index.html index.html.var ]]></source>
&#9;&#9;&#9;&#9;&#9;&#9;</li>
&#9;&#9;&#9;&#9;&#9;&#9;<li>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;<p> taglib&#12399;struts&#12398;&#12479;&#12464;&#12521;&#12452;&#12502;&#12521;&#12522;&#12434;&#20351;&#12358;&#12383;&#12417;&#12398;&#12418;&#12398;&#12290; </p>
&#9;&#9;&#9;&#9;&#9;&#9;</li>
&#9;&#9;&#9;&#9;&#9;</ul>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;</section>
&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;<title>struts-config.xml&#12398;&#20316;&#25104;</title>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>blank&#12398;&#12467;&#12500;&#12540;</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12371;&#12428;&#12399;&#12289;&#26368;&#21021;&#12363;&#12425;&#20316;&#12427;&#12398;&#12364;&#38754;&#20498;&#12394;&#12398;&#12391;&#12289;&#12371;&#12398;&#12506;&#12540;&#12472;&#12398;&#26368;&#21021;&#12395;&#12480;&#12454;&#12531;&#12525;&#12540;&#12489;&#12375;&#12289;&#23637;&#38283;&#12375;&#12390;&#12362;&#12356;&#12383;jakarta-struts-1.2.4.tar.gz&#12398;&#20013;&#12398; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;jakarta-struts-1.2.4/webapps/struts-blank.war </p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12434;&#12373;&#12425;&#12395;&#23637;&#38283;&#12377;&#12427;&#12290;&#12371;&#12398;war&#12392;&#12356;&#12358;&#25313;&#24373;&#23376;&#12398;&#12501;&#12449;&#12452;&#12523;&#12418;&#22311;&#32302;&#12375;&#12390;&#12354;&#12427;&#12398;&#12391;&#12289;&#36969;&#24403;&#12394;&#12392;&#12371;&#12429;&#12391;&#23637;&#38283;&#12290;&#12371;&#12428;&#12395;&#12399;&#12467;&#12510;&#12531;&#12489;&#12521;&#12452;&#12531;&#12391;&#12289; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<code>jar xvf struts-examples.war</code>
&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12391;&#23637;&#38283;&#12373;&#12428;&#12427;&#12290;&#12381;&#12358;&#12377;&#12427;&#12392; </p>
&#9;&#9;&#9;&#9;&#9;<ul class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<li>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;<p>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;<code>pages</code>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;&#9;</li>
&#9;&#9;&#9;&#9;&#9;&#9;<li>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;<p>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;<code>WEB-INF</code>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;&#9;</li>
&#9;&#9;&#9;&#9;&#9;&#9;<li>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;<p>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;<code>META-INF</code>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;&#9;</li>
&#9;&#9;&#9;&#9;&#9;</ul>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12392;&#12356;&#12358;3&#12388;&#12398;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#12540;&#12364;&#12391;&#12365;&#12390;&#12356;&#12390;&#12289;&#12371;&#12398;&#12394;&#12363;&#12398;<code>WEB-INF</code>&#20197;&#19979;&#12398;&#12501;&#12449;&#12452;&#12523;&#12539;&#12487;&#12451;&#12524;&#12463;&#12488;&#12540;&#12434;&#20840;&#12390;(<em>&#12383;&#12384;&#12375;&#12289;&#20808;&#12411;&#12393;&#20316;&#25104;&#12375;&#12383;web.xml&#12434;&#38500;&#12367;&#65281;&#65281;</em>) 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<code>C:\eclipse\workspace\webcms\WEB-INF</code>
&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#20197;&#19979;&#12395;&#12467;&#12500;&#12540;&#12375;&#12390;&#12375;&#12414;&#12358;&#12290; </p>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>struts-config.xml&#12398;&#32232;&#38598;</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;<code>eclipse/workspace/webcms/WEB-INF</code>&#12395;<code class="kbd">struts-config.xml</code>&#12364;&#12354;&#12427;&#12398;&#12391;&#12289;&#12371;&#12428;&#12434;&#32232;&#38598;&#12375;&#12414;&#12377;&#12290;&#26368;&#21021;&#12399;&#20197;&#19979;&#12398;&#12424;&#12358;&#12395;&#12394;&#12387;&#12390;&#12356;&#12414;&#12377;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#20316;&#25104;&#12377;&#12427;&#12477;&#12540;&#12473;&#12399;&#20840;&#12390;&#12391;&#65300;&#12388;&#12290; </p>
&#9;&#9;&#9;&#9;&#9;<dl class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<dt>HelloWorldAction</dt>
&#9;&#9;&#9;&#9;&#9;&#9;<dd> &#12371;&#12428;&#12364;&#23455;&#38555;&#12398;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531; </dd>
&#9;&#9;&#9;&#9;&#9;&#9;<dt>HelloWorldActionForm</dt>
&#9;&#9;&#9;&#9;&#9;&#9;<dd> &#12371;&#12428;&#12399;&#20516;&#12434;&#20445;&#23384;&#12377;&#12427;bean </dd>
&#9;&#9;&#9;&#9;&#9;&#9;<dt>HelloWorldMenuAction</dt>
&#9;&#9;&#9;&#9;&#9;&#9;<dd> &#21336;&#12395;html&#12398;form&#12434;&#34920;&#31034;&#12373;&#12379;&#12427;&#20013;&#36523;&#12398;&#12394;&#12356;action </dd>
&#9;&#9;&#9;&#9;&#9;&#9;<dt>SetCharacterEncodingFilter</dt>
&#9;&#9;&#9;&#9;&#9;&#9;<dd> &#25991;&#23383;&#21270;&#12369;&#12375;&#12394;&#12356;&#12424;&#12358;&#12395;&#12377;&#12427;filter </dd>
&#9;&#9;&#9;&#9;&#9;</dl>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
          "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
<!--
     This is a blank Struts configuration file with an example
     welcome action/page and other commented sample elements.

Tiles and the Struts Validator are configured using the factory defaults
     and are ready-to-use.

NOTE: If you have a generator tool to create the corresponding Java classes
for you, you could include the details in the "form-bean" declarations.
Otherwise, you would only define the "form-bean" element itself, with the
     corresponding "name" and "type" attributes, as shown here.
-->
<struts-config>
<!-- ======================================= Data Source Configuration -->
<!--
<data-sources>
<data-source type="org.apache.commons.dbcp.BasicDataSource">
    <set-property
      property="driverClassName"
      value="org.postgresql.Driver" />
    <set-property
      property="url"
      value="jdbc:postgresql://localhost/mydatabase" />
    <set-property
      property="username"
      value="me" />
    <set-property
      property="password"
      value="test" />
    <set-property
      property="maxActive"
      value="10" />
    <set-property
      property="maxWait"
      value="5000" />
    <set-property
      property="defaultAutoCommit"
      value="false" />
    <set-property
      property="defaultReadOnly"
      value="false" />
    <set-property
      property="validationQuery"
      value="SELECT COUNT(*) FROM market" />
</data-source>
</data-sources>
-->
<!-- =========================================== Form Bean Definitions -->
    <form-beans>
    <!-- sample form bean descriptor for an ActionForm
        <form-bean
            name="inputForm"
            type="app.InputForm"/>
    end sample -->
    <!-- sample form bean descriptor for a DynaActionForm
        <form-bean
            name="logonForm"
            type="org.apache.struts.action.DynaActionForm">
            <form-property
                name="username"
                type="java.lang.String"/>
            <form-property
                name="password"
                type="java.lang.String"/>
       </form-bean>
    end sample -->
    </form-beans>
<!-- ==================================== Global Exception Definitions -->
    <global-exceptions>
        <!-- sample exception handler
        <exception
            key="expired.password"
            type="app.ExpiredPasswordException"
            path="/changePassword.jsp"/>
        end sample -->
    </global-exceptions>
<!-- ==================================== Global Forward Definitions -->
    <global-forwards>
        <!-- Default forward to "Welcome" action -->
        <!-- Demonstrates using index.jsp to forward -->
        <forward
            name="welcome"
            path="/Welcome.do"/>
    </global-forwards>
<!-- ====================================== Action Mapping Definitions -->
    <action-mappings>
            <!-- Default "Welcome" action -->
            <!-- Forwards to Welcome.jsp -->
        <action
            path="/Welcome"
            forward="/pages/Welcome.jsp"/>
    <!-- sample input and input submit actions
        <action
            path="/Input"
            type="org.apache.struts.actions.ForwardAction"
            parameter="/pages/Input.jsp"/>
        <action
            path="/InputSubmit"
            type="app.InputAction"
            name="inputForm"
            scope="request"
            validate="true"
            input="/pages/Input.jsp"/>
            <action
                path="/edit*"
                type="app.Edit{1}Action"
                name="inputForm"
                scope="request"
                validate="true"
                input="/pages/Edit{1}.jsp"/>
    end samples -->
    </action-mappings>
<!-- ======================================== Controller Configuration -->
    <controller
       processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
<!-- =================================== Message Resources Definitions -->
    <message-resources parameter="MessageResources" />
<!-- ========================================== Plug Ins Configuration -->
  <!-- ================================================== Tiles plugin -->
  <!--
This plugin initialize Tiles definition factory. This later can takes some
    parameters explained here after. The plugin first read parameters from
web.xml, thenoverload them with parameters defined here. All parameters
       are optional.
     The plugin should be declared in each struts-config file.
       - definitions-config: (optional)
            Specify configuration file names. There can be several comma
                  separated file names (default: ?? )
       - moduleAware: (optional - struts1.1)
Specify if the Tiles definition factory is module aware. If true
            (default), there will be one factory for each Struts module.
If false, there will be one common factory for all module. In this
later case, it is still needed to declare one plugin per module.
The factory will be initialized with parameters found in the first
initialized plugin (generally the one associated with the default
            module).
                        true : One factory per module. (default)
                        false : one single shared factory for all modules
         - definitions-parser-validate: (optional)
Specify if xml parser should validate the Tiles configuration file.
true : validate. DTD should be specified in file header (default)
                        false : no validation
        Paths found in Tiles definitions are relative to the main context.
  -->
    <plug-in className="org.apache.struts.tiles.TilesPlugin" >
      <!-- Path to XML definition file -->
      <set-property property="definitions-config"
                       value="/WEB-INF/tiles-defs.xml" />
      <!-- Set Module-awareness to true -->
      <set-property property="moduleAware" value="true" />
    </plug-in>
<!-- ================================================ Validator plugin -->
  <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property
        property="pathnames"
        value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
  </plug-in>
</struts-config>
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12411;&#12392;&#12435;&#12393;&#12364;&#12467;&#12513;&#12531;&#12488;&#12450;&#12454;&#12488;&#12373;&#12428;&#12390;&#12356;&#12427;&#12398;&#12391;&#12289;&#35211;&#12420;&#12377;&#12367;&#12377;&#12427;&#12383;&#12417;&#12395;&#20197;&#19979;&#12398;&#12424;&#12358;&#12395;&#12289;&#12377;&#12387;&#12365;&#12426;&#12373;&#12379;&#12414;&#12375;&#12423;&#12358;(&#12467;&#12500;&#12506;&#12375;&#12390;OK)&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
          "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
<struts-config>
<!-- ============================================ Form Bean Definitions -->
    <form-beans>
        <form-bean
            name="logonForm"
            type="org.apache.struts.action.DynaActionForm">
       </form-bean>
    </form-beans>
<!-- ======================================= Action Mapping Definitions -->
    <action-mappings>
        <action
            path="/InputSubmit"
            type="app.InputAction"
            name="inputForm"
            scope="request"
            validate="true"
            input="/pages/Input.jsp"/>
   </action-mappings>
<!-- ==================================== Message Resources Definitions -->
    <message-resources parameter="MessageResources" />
<!-- ================================================= Validator plugin -->
  <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property
        property="pathnames"
        value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
  </plug-in>
</struts-config>
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12371;&#12428;&#12434;&#23569;&#12375;&#12378;&#12388;&#20462;&#27491;&#12375;&#12414;&#12377;&#12290; </p>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>&#12414;&#12378;&#12399;&#12289;&#26368;&#21021;&#12398;&#25991;&#23383;&#12467;&#12540;&#12489;&#12290;</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12371;&#12428;&#12384;&#12392;&#26085;&#26412;&#35486;&#12364;&#26360;&#12365;&#36796;&#12417;&#12394;&#12356;&#12398;&#12391;&#12289; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ <?xml version="1.0" encoding="ISO-8859-1" ?> 
						]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12434; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ <?xml version="1.0" encoding="Windows-31J"?> 
						]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12395;&#12375;&#12414;&#12377;&#12290; </p>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>form-bean&#12398;&#26360;&#12365;&#25563;&#12360;</title>
&#9;&#9;&#9;&#9;&#9;<ol class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<li> 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;form-bean&#12479;&#12464;&#12398;&#20013;&#12398;&#12300;name="logonForm"&#12301;&#12434;&#12300;name="helloWorldForm"&#12301;&#12290;&#12371;&#12398;name&#12364;&#35542;&#29702;&#21517;(&#12371;&#12428;&#12364;&#12431;&#12363;&#12426;&#12389;&#12425;&#12356;&#21628;&#12403;&#21517;&#12391;&#12377;&#12364;&#12289;&#21336;&#12394;&#12427;&#21517;&#21069;&#12392;&#12356;&#12358;&#12371;&#12392;---&#12463;&#12521;&#12473;&#21517;&#12399;&#38263;&#12356;&#12398;&#12391;)&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;</li>
&#9;&#9;&#9;&#9;&#9;&#9;<li> 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#12300;type="org.apache.struts.action.DynaActionForm"&gt;&#12301;&#12434;&#12300;type="com.chikkun.webcms.test.HelloWorldActionForm"&gt;&#12301;&#12395;&#12375;&#12414;&#12377;&#12290;&#12371;&#12398;type&#12399;&#23455;&#38555;&#12398;&#12463;&#12521;&#12473;&#21517;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;</li>
&#9;&#9;&#9;&#9;&#9;</ol>
&#9;&#9;&#9;&#9;&#9;<p class="subsection">&#12388;&#12414;&#12426;</p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<form-beans>
    <form-bean
        name="logonForm"
        type="org.apache.struts.action.DynaActionForm">
   </form-bean>
</form-beans>	
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12364; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<form-beans>
    <form-bean
        name="helloWorldForm"
        type="com.chikkun.webcms.test.HelloWorldActionForm">
   </form-bean>
</form-beans>
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12395;&#12394;&#12426;&#12414;&#12377;&#12290; </p>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>action&#12398;&#26360;&#12365;&#25563;&#12360;</title>
&#9;&#9;&#9;&#9;&#9;<ol class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<li> 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#12300;path="/InputSubmit"&#12301;&#12434;&#12300;path="/helloWorld"&#12301;&#12395;&#12290;&#12371;&#12398;path&#12399;&#12502;&#12521;&#12454;&#12470;&#12391;http://localhost:8080/webcms/action/helloWorld&#12392;&#12377;&#12427;&#12392;&#12289;&#12371;&#12398;Java&#12398;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12364;&#23455;&#34892;&#12373;&#12428;&#12427;&#12371;&#12392;&#12434;&#24847;&#21619;&#12375;&#12414;&#12377;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;</li>
&#9;&#9;&#9;&#9;&#9;&#9;<li> 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#12300;type="app.InputAction"&#12301;&#12434;&#12300;type="com.chikkun.webcms.test.HelloWorldAction"&#12301;&#12395;&#12375;&#12414;&#12377;&#12290;&#12371;&#12428;&#12364;&#12289;&#12371;&#12398;&#24460;&#20316;&#25104;&#12377;&#12427;Java&#12398;&#12463;&#12521;&#12473;&#21517;&#12395;&#12394;&#12426;&#12414;&#12377;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;</li>
&#9;&#9;&#9;&#9;&#9;&#9;<li> 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#12300;name="inputForm"&#12301;&#12434;&#12300;name="helloWorldForm"&#12301;&#12395;&#12290;&#12371;&#12428;&#12399;&#20808;&#12411;&#12393;&#12398;form-bean&#12398;&#26178;&#12398;&#35542;&#29702;&#21517;&#12395;&#12394;&#12426;&#12414;&#12377;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;</li>
&#9;&#9;&#9;&#9;&#9;&#9;<li> scope&#12392;validate&#12399;&#12381;&#12398;&#12414;&#12414;&#12290; </li>
&#9;&#9;&#9;&#9;&#9;&#9;<li> 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#12300;input="/pages/Input.jsp"&#12301;&#12434;&#12300;input="/WEB-INF/jsp/input.jsp"&#12301;&#12395;&#12375;&#12414;&#12377;&#12290;&#12371;&#12428;&#12399;&#12393;&#12371;&#12391;&#12418;&#33391;&#12356;&#12398;&#12391;&#12377;&#12364;&#12289;WEB-INF&#20197;&#19979;&#12398;&#12501;&#12449;&#12452;&#12523;&#12399;&#30452;&#25509;&#12518;&#12540;&#12470;&#12399;&#35211;&#12427;&#12371;&#12392;&#12364;&#12391;&#12365;&#12394;&#12356;&#12398;&#12391;&#12289;&#12475;&#12461;&#12517;&#12522;&#12486;&#12451;&#19978;&#12289;&#12392;&#12426;&#12354;&#12360;&#12378;&#12289;&#12381;&#12358;&#12375;&#12390;&#12362;&#12365;&#12414;&#12377;&#12290;&#12371;&#12398;input&#12392;&#12356;&#12358;&#12398;&#12399;&#12289;&#12381;&#12398;&#12377;&#12368;&#19978;&#12398;&#12300;validate="true"&#12301;&#12395;&#12394;&#12387;&#12390;&#12356;&#12390;&#12289;validate&#12375;&#12383;&#12392;&#12365;&#12395;&#12402;&#12387;&#12363;&#12363;&#12387;&#12383;&#22580;&#21512;&#12398;&#36983;&#31227;&#20808;&#12395;&#12394;&#12426;&#12414;&#12377;&#12290;&#20170;&#22238;&#12399;&#26368;&#21021;&#12398;&#12501;&#12457;&#12540;&#12512;&#12398;&#12506;&#12540;&#12472;&#12392;&#21516;&#12376;&#12395;&#12375;&#12390;&#12354;&#12426;&#12414;&#12377;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;</li>
&#9;&#9;&#9;&#9;&#9;</ol>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12381;&#12375;&#12390;&#12418;&#12358;1&#12388;&#12290;&#21336;&#12395;html&#12398;&#12501;&#12457;&#12540;&#12512;&#12434;&#34920;&#31034;&#12373;&#12379;&#12427;&#12383;&#12417;&#12398;HelloWorldMenuAction&#12395;&#12388;&#12356;&#12390;&#12418;&#36861;&#21152;&#12375;&#12414;&#12377;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<action-mappings>
    <action
        path="/InputSubmit"
        type="app.InputAction"
        name="inputForm"
        scope="request"
        validate="true"
        input="/pages/Input.jsp"/>

</action-mappings>
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection">&#12364;</p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<action-mappings>
    <action
        path="/helloWorld"
        type="com.chikkun.webcms.test.HelloWorldAction"
        name="helloWorldForm"
        scope="request"
        validate="true"
        input="/WEB-INF/jsp/input.jsp">
         <forward
           name="success"
           path="/WEB-INF/jsp/hello.jsp"
           redirect="false"/>
    </action>

    <action
        path="/helloWorldMenu"
        type="com.chikkun.webcms.test.HelloWorldMenuAction"
        scope="request" >
         <forward
           name="success"
           path="/WEB-INF/jsp/input.jsp"
           redirect="false"/>
    </action>

</action-mappings>
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12392;&#12394;&#12426;&#12414;&#12377;&#12290; </p>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>ApplicationResources&#12398;&#21517;&#21069;&#12289;&#12497;&#12473;&#12398;&#22793;&#26356;</title>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<message-resources parameter="MessageResources" />
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection">&#12434;</p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<message-resources parameter="Resources.ApplicationResources"/>
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12395;&#22793;&#26356;&#12375;&#12414;&#12377;&#12290;&#12371;&#12428;&#12399;&#12289;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12363;&#12425;&#12371;&#12371;&#12395;&#26360;&#12363;&#12428;&#12390;&#12354;&#12427;&#35373;&#23450;&#12398;&#20516;&#12394;&#12393;&#12434;&#21462;&#12426;&#20986;&#12377;&#12383;&#12417;&#12398;&#12501;&#12449;&#12452;&#12523;&#12391;&#12289;&#35443;&#32048;&#12399;&#23455;&#38555;&#20316;&#12427;&#22580;&#38754;&#12391;&#35500;&#26126;&#12375;&#12414;&#12377;&#12290;</p>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>&#26368;&#32066;&#30340;&#12394;struts-config.xml</title>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<?xml version="1.0" encoding="Windows-31J"?>

<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
          "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">

<struts-config>
 <!-- ========================================== Form Bean Definitions -->

    <form-beans>
        <form-bean
            name="helloWorldForm"
            type="com.chikkun.webcms.test.HelloWorldActionForm">
       </form-bean>
    </form-beans>

<!-- ====================================== Action Mapping Definitions -->

    <action-mappings>
        <action
            path="/helloWorld"
            type="com.chikkun.webcms.test.HelloWorldAction"
            name="helloWorldForm"
            scope="request"
            validate="true"
            input="/WEB-INF/jsp/input.jsp">
             <forward
               name="success"
               path="/WEB-INF/jsp/hello.jsp"
               redirect="false"/>
        </action>

        <action
            path="/helloWorldMenu"
            type="com.chikkun.webcms.test.HelloWorldMenuAction"
            scope="request" >
             <forward
               name="success"
               path="/WEB-INF/jsp/input.jsp"
               redirect="false"/>
        </action>

   </action-mappings>

<!-- ================================== Message Resources Definitions -->

   <message-resources parameter="Resources.ApplicationResources"/>

<!-- =============================================== Validator plugin -->

  <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property
        property="pathnames"
        value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
  </plug-in>
</struts-config>
 ]]></source>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;</section>
&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;<title>eclipse&#12398;&#12463;&#12521;&#12473;&#12497;&#12473;&#12398;&#35373;&#23450;</title>
&#9;&#9;&#9;&#9;<p class="section"> 
&#9;&#9;&#9;&#9;&#9;&#12373;&#12390;&#12289;&#12354;&#12392;&#12399;&#12463;&#12521;&#12473;&#12434;&#20316;&#25104;&#12375;&#12390;&#12289;validation&#12398;&#12523;&#12540;&#12523;&#12434;&#20316;&#12387;&#12390;&#12289;ApplicationResources.properties&#12434;&#26360;&#12365;&#12289;&#12373;&#12425;&#12395;jsp&#12501;&#12449;&#12452;&#12523;&#12434;&#65298;&#12388;&#20316;&#12426;&#12414;&#12377;&#12290;&#12381;&#12398;&#21069;&#12395;&#12463;&#12521;&#12473;&#12497;&#12473;&#12398;&#35373;&#23450;&#12290; 
&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;<p class="section">
&#9;&#9;&#9;&#9;&#9;<img src="classPath.jpg" alt="&#26356;&#26032;&#65286;&#12501;&#12449;&#12452;&#12523;&#36984;&#25246;"/>
&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;<p class="section"> 
&#9;&#9;&#9;&#9;&#9;&#12414;&#12378;&#12399;&#12289;&#20808;&#12411;&#12393;blank&#12434;&#35299;&#20941;&#12375;&#12390;&#12289;WEB-INF&#20197;&#19979;&#12434;&#12467;&#12500;&#12540;&#12375;&#12383;&#12398;&#12391;&#12289;&#12501;&#12449;&#12452;&#12523;&#12398;&#20013;&#36523;&#12364;&#22793;&#12431;&#12387;&#12390;&#12356;&#12427;&#12371;&#12392;&#12434;eclipse&#12395;&#30693;&#12425;&#12379;&#12427;&#12383;&#12417;&#12395;&#12289;&#12459;&#12540;&#12477;&#12523;&#12434;<code>webcms</code>&#65288;&#19978;&#35352;&#12398;&#36196;&#12356;&#12392;&#12371;&#12429;&#12434;&#65289;&#12395;&#12375;&#12390;&#12363;&#12425;&#12300;f5&#12301;&#12363;&#21491;&#12463;&#12522;&#12483;&#12463;&#12375;&#12390;&#12300;&#26356;&#26032;&#12301;&#12434;&#36984;&#25246;&#12375;&#12414;&#12377;&#12290; 
&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;<p class="section"> 
&#9;&#9;&#9;&#9;&#9;&#27425;&#12395;&#12289;&#21516;&#27096;&#12395;&#21491;&#12463;&#12522;&#12483;&#12463;&#12375;&#12390;&#12289;&#19968;&#30058;&#19979;&#12395;&#12354;&#12427;&#12300;&#12503;&#12525;&#12497;&#12486;&#12451;&#12301;&#12434;&#36984;&#25246;&#12290;&#19978;&#12363;&#12425;4&#12388;&#12417;&#12395;&#12354;&#12427;&#12300;Java Build 
&#9;&#9;&#9;&#9;&#9;Path&#12301;&#12434;&#36984;&#25246;&#12290;&#12381;&#12375;&#12390;&#21491;&#12395;&#26041;&#12395;&#12354;&#12427;&#12289;&#12300;add 
&#9;&#9;&#9;&#9;&#9;JARs&#12301;&#12434;&#36984;&#25246;&#12375;&#12390;&#12289;webcms-&gt;WEB-INF-&gt;lib&#12395;&#12354;&#12427;&#12501;&#12449;&#12452;&#12523;&#12434;&#20840;&#12390;(shift&#12394;&#12393;&#12434;&#20351;&#12387;&#12390;)&#36984;&#25246;&#12375;&#12390;OK&#12434;&#12463;&#12522;&#12483;&#12463;&#12377;&#12427;&#12290; 
&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;<p class="section">
&#9;&#9;&#9;&#9;&#9;<img src="classPath2.jpg" alt="&#12481;&#12455;&#12483;&#12463;&#12510;&#12540;&#12463;&#12434;&#20837;&#12428;&#12427;"/>
&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;<p class="section"> &#12373;&#12425;&#12395;&#12289;&#19968;&#30058;&#21491;&#12395;&#12354;&#12427;&#12289;Order and 
&#9;&#9;&#9;&#9;&#9;Export&#12434;&#36984;&#25246;&#12375;&#12390;&#12289;&#12481;&#12455;&#12483;&#12463;&#12510;&#12540;&#12463;&#12398;&#20837;&#12387;&#12390;&#12356;&#12394;&#12356;&#12418;&#12398;&#12434;&#20840;&#12390;&#12481;&#12455;&#12483;&#12463;&#12434;&#20837;&#12428;&#12390;(&#12392;&#12426;&#12354;&#12360;&#12378;&#38918;&#30058;&#12399;&#22793;&#12360;&#12394;&#12367;&#12390;&#12418;&#22823;&#19976;&#22827;)&#12289;&#12300;OK&#12301;&#12508;&#12479;&#12531;&#12434;&#12391;&#12289;&#35373;&#23450;&#32066;&#20102;&#12290; 
&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;</section>
&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;<title>class&#12398;&#20316;&#25104;</title>
&#9;&#9;&#9;&#9;<p class="section"> &#12371;&#12428;&#12391;&#19968;&#24540;&#38283;&#30330;&#29872;&#22659;&#12399;&#12381;&#12429;&#12387;&#12383;&#12398;&#12391;&#12289;&#12356;&#12424;&#12356;&#12424;&#12477;&#12540;&#12473;&#12398;&#20316;&#25104;&#12290; </p>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>&#12414;&#12378;&#12399;&#12497;&#12483;&#12465;&#12540;&#12472;&#12398;&#20316;&#25104;</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;<code>webcms/WEB-INF/src</code>&#12391;&#21491;&#12463;&#12522;&#12483;&#12463;&#12375;&#12390;&#12289;&#26032;&#35215;-&gt;package&#12434;&#36984;&#25246;&#12375;&#12390;&#12289; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<img src="package.jpg" alt="&#12497;&#12483;&#12465;&#12540;&#12472;&#12398;&#26032;&#35215;&#20316;&#25104;"/>
&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12300;com.chikkun.webcms.test&#12301;&#12392;&#20837;&#21147;&#12375;&#12390;&#12289;&#32066;&#20102;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<img src="package2.jpg" alt="&#12497;&#12483;&#12465;&#12540;&#12472;&#12398;&#20837;&#21147;"/>
&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>action&#12398;&#12402;&#12394;&#24418;&#20316;&#25104;</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#36890;&#24120;struts&#12391;&#12399;action&#12392;&#12356;&#12358;&#12398;&#12364;&#12289;&#23455;&#38555;&#12398;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12391;&#12289;form&#12392;&#12356;&#12398;&#12364;action&#12398;&#35036;&#21161;&#12392;&#12394;&#12427;&#20516;&#12394;&#12393;&#12434;&#26684;&#32013;&#12377;&#12427;&#12418;&#12398;&#12290;&#12381;&#12398;action&#12434;&#20316;&#25104;&#12375;&#12424;&#12358;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#20808;&#12411;&#12393;&#20316;&#12387;&#12383;&#12497;&#12483;&#12465;&#12540;&#12472;&#12398;test&#12392;&#12356;&#12358;&#12392;&#12371;&#12429;&#12391;&#21491;&#12463;&#12522;&#12483;&#12463;&#12375;&#12390;&#12289;&#26032;&#35215;-&gt;Class&#12434;&#36984;&#25246;&#12290;&#12487;&#12501;&#12457;&#12523;&#12488;&#12391;&#12399;&#20197;&#19979;&#12398;&#12424;&#12358;&#12394;&#20013;&#36523;&#12398;&#12418;&#12398;&#12364;&#12391;&#12365;&#12390;&#12356;&#12427;&#12399;&#12378;(&#22810;&#23569;&#29872;&#22659;&#12395;&#12424;&#12387;&#12390;&#36949;&#12358;&#12363;&#12418;&#12375;&#12428;&#12394;&#12356;&#12375;&#12289;&#12414;&#12383;&#12289;&#12467;&#12513;&#12531;&#12488;&#12399;&#22793;&#12360;&#12425;&#12428;&#12427;&#12398;&#12391;&#12289;&#12356;&#12378;&#12428;&#22793;&#12360;&#12383;&#26041;&#12364;&#12424;&#12356;&#12290;)&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
/*
 * Created on 2005/05/07
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.chikkun.webcms.test;

/**
 * @author Administrator
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class HelloWorldAction {

}
						</source>
<p class="subsection">
]]>&#12371;&#12398;
<![CDATA[</p>
<source>
public class HelloWorldAction {

}
</source>
<p class="subsection">
]]>&#12434;
<![CDATA[</p>
<source>
public class HelloWorldAction extends Action{

}
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12395;&#26360;&#12365;&#21152;&#12360;&#12427;&#12290;&#12381;&#12358;&#12377;&#12427;&#12392;&#12289;Action&#12398;&#12392;&#12371;&#12429;&#12391;&#12289;&#36196;&#12356;&#27874;&#32218;&#12364;&#20986;&#12427;&#12369;&#12428;&#12393;&#12289;&#12371;&#12428;&#12399;&#12300;Action&#12387;&#12390;&#20309;&#12301;&#12392;eclipse&#12364;&#12431;&#12363;&#12425;&#12394;&#12356;&#12398;&#12391;&#12289;&#24594;&#12387;&#12390;&#12356;&#12427;&#12290;&#12381;&#12398;&#24594;&#12426;&#12434;&#38745;&#12417;&#12427;&#12383;&#12417;&#12395;&#12289;&#12477;&#12540;&#12473;&#12398;&#30011;&#38754;&#12398;&#20013;&#12391;&#12289;&#21491;&#12463;&#12522;&#12483;&#12463;&#12375;&#12390;&#12289;Source-&gt;Organize 
&#9;&#9;&#9;&#9;&#9;&#9;Import&#12434;&#36984;&#25246;&#12375;(&#12471;&#12519;&#12540;&#12488;&#12459;&#12483;&#12488;&#12418;&#12354;&#12427;&#65281;)&#12289;<code class="kbd">org.apache.struts.action.Action</code>&#12434;&#36984;&#25246;&#12375;&#12390;&#12289;&#32066;&#20102;&#12373;&#12379;&#12427;&#12392;&#12289;&#33618;&#12406;&#12427;eclipse&#12364;&#38745;&#12414;&#12427;(&#23455;&#38555;&#12395;&#12399;&#12521;&#12452;&#12502;&#12521;&#12522;&#12540;&#12364;&#24517;&#35201;&#12394;&#12398;&#12391;&#12289;&#12381;&#12428;&#12434;import&#12377;&#12427;&#25991;&#12434;&#25407;&#20837;&#12375;&#12390;&#12367;&#12428;&#12427;---import 
&#9;&#9;&#9;&#9;&#9;&#9;org.apache.struts.action.Action;)&#12290; </p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#27425;&#12395;&#12289; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
public ActionForward execute(ActionMapping mapping, ActionForm actionForm,
        HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException {

    return mapping.findForward("success");
}
</source>
<p class="subsection">
]]>&#12434;&#12463;&#12521;&#12473;&#20869;&#12395;&#25407;&#20837;&#12290;&#12371;&#12371;&#12391;&#12418;&#36196;&#12356;&#27874;&#32218;&#12398;&#23888;&#12290;&#21516;&#27096;&#12395;&#12289;<![CDATA[Source-&gt;Organize Import]]>&#12434;&#23455;&#34892;&#12377;&#12427;&#12290;
<![CDATA[</p>
<p class="subsection">
]]>&#12381;&#12398;&#32080;&#26524;&#20197;&#19979;&#12398;&#12424;&#12358;&#12395;&#12394;&#12387;&#12390;&#12356;&#12427;&#12399;&#12378;&#12391;&#12377;&#12290;
<![CDATA[</p>
<source>
/*
 * Created on 2005/05/07
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.chikkun.webcms.test;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

/**
 * @author Administrator
 * 
 * TODO To change the template for this generated type comment go to Window 
 * Preferences - Java - Code Style - Code Templates
 */
public class HelloWorldAction extends Action {

    public ActionForward execute(ActionMapping mapping, ActionForm actionForm,
            HttpServletRequest request, HttpServletResponse response)
            throws IOException, ServletException {

        return mapping.findForward("success");
    }

}
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12371;&#12428;&#12391;&#12289;&#20013;&#36523;&#12364;&#12394;&#12356;action&#12364;&#20986;&#26469;&#12383;&#12290;&#12381;&#12375;&#12390;&#12289;&#12501;&#12457;&#12540;&#12512;&#34920;&#31034;&#29992;&#12398;HelloWorldMenuAction&#12418;&#20316;&#25104;&#12375;&#12414;&#12377;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12381;&#12371;&#12391;form&#12398;&#12402;&#12394;&#24418;&#12434;&#20316;&#12426;&#12414;&#12377;&#12290; </p>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>form&#12398;&#12402;&#12394;&#24418;&#20316;&#25104;</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#20808;&#12411;&#12393;&#12398;action&#12392;&#12411;&#12412;&#21516;&#27096;&#12395;&#12300;HelloWorldActionForm&#12301;&#12392;&#12356;&#12358;&#21517;&#21069;&#12398;&#12463;&#12521;&#12473;&#12434;&#20316;&#25104;&#12290;&#12463;&#12521;&#12473;&#21517;&#12384;&#12369;&#12364;&#36949;&#12358;&#12369;&#12428;&#12393;&#12289;&#12411;&#12392;&#12435;&#12393;action&#12392;&#21516;&#12376;&#12501;&#12449;&#12452;&#12523;&#12364;&#20986;&#26469;&#12383;&#12399;&#12378;(&#20197;&#19979;)&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
/*
 * Created on 2005/05/07
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.chikkun.webcms.test;

/**
 * @author Administrator
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class HelloWorldActionForm {

}
</source>
<p class="subsection">
]]>&#12371;&#12398;
<![CDATA[</p>
<source>
public class HelloWorldActionForm extends ValidatorForm{

}
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12434;&#26360;&#12365;&#21152;&#12360;&#12427;&#12290;&#12414;&#12383;eclipse&#12364;&#24594;&#12427;&#12369;&#12428;&#12393;&#12289;Source-&gt;Organize 
&#9;&#9;&#9;&#9;&#9;&#9;Import&#12391;&#38745;&#12417;&#12427;(&#20170;&#22238;&#12399;&#20182;&#12395;&#21516;&#21517;&#12398;&#12463;&#12521;&#12473;&#12364;&#12394;&#12356;&#12398;&#12391;&#12289;&#12377;&#12368;&#12395;import&#25991;&#12364;&#25407;&#20837;&#12373;&#12428;&#12427;&#12392;&#24605;&#12358;)---&#12300;&#38745;&#12417;&#12427;&#12301;&#12399;&#12300;&#37806;&#12417;&#12427;&#12301;&#12363;&#12394;(--;)&#65311;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>form&#12434;&#23436;&#25104;&#12373;&#12379;&#12427;</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#20170;&#22238;&#12399;&#21517;&#21069;&#12434;&#12501;&#12457;&#12540;&#12512;&#12363;&#12425;&#21462;&#24471;&#12377;&#12427;&#12384;&#12369;&#12391;&#12377;&#12364;&#12289;&#12381;&#12428;&#12391;&#12399;&#12354;&#12414;&#12426;&#12395;&#12418;&#24754;&#12375;&#12356;&#12398;&#12391;&#12289;&#27425;&#12398;&#12418;&#12398;&#12434;&#20837;&#21147;&#12375;&#12414;&#12377; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
//]]>&#21517;&#21069;&#26684;&#32013;&#29992;
<![CDATA[private String name = null;

//ip]]>&#12450;&#12489;&#12524;&#12473;&#26684;&#32013;&#29992;
<![CDATA[private String ip = null;

//]]>&#20197;&#38477;&#26085;&#20184;&#12394;&#12393;
<![CDATA[private String year = null;
private String month = null;
private String day = null;
private String hour = null;
private String minute = null;
private String second = null;
private String aDayOfTheWeek = null;
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12371;&#12428;&#12384;&#12369;&#12384;&#12392;&#12289;&#21336;&#12395;&#22793;&#25968;&#12398;&#23459;&#35328;&#12384;&#12369;&#12391;&#12377;&#12398;&#12391;&#12289;&#12371;&#12428;&#12395;&#23550;&#12377;&#12427;&#12289;setter&#12289;getter&#12513;&#12477;&#12483;&#12489;&#12434;&#20316;&#25104;&#12375;&#12414;&#12377;&#12290;&#35443;&#32048;&#12399;&#36991;&#12369;&#12414;&#12377;&#12364;&#12289;&#30452;&#25509;&#20182;&#12398;&#12463;&#12521;&#12473;&#12363;&#12425;&#12289;&#12371;&#12398;form&#12398;&#22793;&#25968;&#12395;&#12450;&#12463;&#12475;&#12473;&#12391;&#12365;&#12394;&#12356;&#12424;&#12358;&#12395;&#12375;&#12390;(private)&#12289;&#20516;&#12434;&#20837;&#21147;&#12377;&#12427;setter&#12392;&#20516;&#12434;&#21462;&#24471;&#12377;&#12427;&#12513;&#12477;&#12483;&#12489;&#12434;&#36890;&#12376;&#12390;&#20516;&#12398;&#12420;&#12426;&#12392;&#12426;&#12434;&#12375;&#12414;&#12377;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12414;&#12383;&#12289;&#12371;&#12398;setter&#12364;&#12354;&#12427;&#12392;&#12289;struts&#12364;&#33258;&#21205;&#30340;&#12395;&#21517;&#21069;&#12434;&#20837;&#21147;&#12377;&#12427;&#12501;&#12457;&#12540;&#12512;&#12363;&#12425;&#21517;&#21069;&#12434;&#20195;&#20837;&#12375;&#12390;&#12367;&#12428;&#12414;&#12377;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12373;&#12390;&#12381;&#12428;&#12425;&#12398;&#12513;&#12477;&#12483;&#12489;&#12399;eclipse&#12398;&#12477;&#12540;&#12473;&#12398;&#30011;&#38754;&#19978;&#12391;&#12289;Source-&gt;Generate Setters 
&#9;&#9;&#9;&#9;&#9;&#9;and Getters&#12434;&#36984;&#25246;&#12377;&#12427;&#12392;&#12289;&#33258;&#21205;&#12391;&#12381;&#12428;&#12425;&#12434;&#20316;&#12387;&#12390;&#12367;&#12428;&#12414;&#12377;&#12290; </p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#20197;&#19979;&#12398;&#12424;&#12358;&#12394;&#12477;&#12540;&#12473;&#12364;&#20986;&#26469;&#12390;&#12356;&#12428;&#12400;OK&#12290; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
/*
 * Created on 2005/05/07
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.chikkun.webcms.test;

import org.apache.struts.validator.ValidatorForm;

/**
 * @author Administrator
 * 
 * TODO To change the template for this generated type comment go to Window
 * Preferences - Java - Code Style - Code Templates
 */
public class HelloWorldActionForm extends ValidatorForm {


    //  ]]>&#21517;&#21069;&#26684;&#32013;&#29992;<![CDATA[(validation]]>&#12434;&#12363;&#12369;&#12427;<![CDATA[)
    private String name = null;

    //    ip]]>&#12450;&#12489;&#12524;&#12473;&#26684;&#32013;&#29992;
<![CDATA[    private String ip = null;

    //    ]]>&#20197;&#38477;&#26085;&#20184;&#12394;&#12393;
<![CDATA[    private String year = null;

    private String month = null;

    private String day = null;

    private String hour = null;

    private String minute = null;

    private String second = null;

    private String dayOfTheWeek = null;
    /**
     * @return Returns the aDayOfTheWeek.
     */
    public String getDayOfTheWeek() {
        return dayOfTheWeek;
    }
    /**
     * @param dayOfTheWeek The aDayOfTheWeek to set.
     */
    public void setDayOfTheWeek(String dayOfTheWeek) {
        this.dayOfTheWeek = dayOfTheWeek;
    }
    /**
     * @return Returns the day.
     */
    public String getDay() {
        return day;
    }

    /**
     * @param day
     *            The day to set.
     */
    public void setDay(String day) {
        this.day = day;
    }

    /**
     * @return Returns the ip.
     */
    public String getIp() {
        return ip;
    }

    /**
     * @param ip
     *            The ip to set.
     */
    public void setIp(String ip) {
        this.ip = ip;
    }

    /**
     * @return Returns the minute.
     */
    public String getMinute() {
        return minute;
    }

    /**
     * @param minute
     *            The minute to set.
     */
    public void setMinute(String minute) {
        this.minute = minute;
    }

    /**
     * @return Returns the month.
     */
    public String getMonth() {
        return month;
    }

    /**
     * @param month
     *            The month to set.
     */
    public void setMonth(String month) {
        this.month = month;
    }

    /**
     * @return Returns the name.
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     *            The name to set.
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return Returns the second.
     */
    public String getSecond() {
        return second;
    }

    /**
     * @param second
     *            The second to set.
     */
    public void setSecond(String second) {
        this.second = second;
    }

    /**
     * @return Returns the year.
     */
    public String getYear() {
        return year;
    }

    /**
     * @param year The year to set.
     */
    public void setYear(String year) {
        this.year = year;
    }
    /**
     * @return Returns the hour.
     */
    public String getHour() {
        return hour;
    }
    /**
     * @param hour The hour to set.
     */
    public void setHour(String hour) {
        this.hour = hour;
    }
} 
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12381;&#12358;&#12381;&#12358;&#12289;&#35328;&#12356;&#24536;&#12428;&#12390;&#12356;&#12414;&#12375;&#12383;&#12364;&#12289;eclipse&#12399;&#30906;&#12363;&#12487;&#12501;&#12457;&#12523;&#12488;&#12391;&#12501;&#12449;&#12452;&#12523;&#12434;&#20445;&#23384;&#12377;&#12427;&#12392;&#12289;&#33258;&#21205;&#12391;&#12467;&#12531;&#12497;&#12452;&#12523;&#12375;&#12390;&#12375;&#12414;&#12356;&#12414;&#12377;&#12290;&#12467;&#12531;&#12500;&#12517;&#12540;&#12479;&#12364;&#38750;&#21147;&#12394;&#22580;&#21512;&#12399;&#22793;&#26356;&#12375;&#12383;&#26041;&#12364;&#33391;&#12356;&#12363;&#12418;&#12375;&#12428;&#12414;&#12379;&#12435;(project&#12513;&#12491;&#12517;&#12540;&#12398;&#12300;&#33258;&#21205;&#12391;&#12499;&#12523;&#12489;&#12301;&#12398;&#12481;&#12455;&#12483;&#12463;&#12434;&#12399;&#12378;&#12379;&#12400;&#33391;&#12356;)&#12290;&#12383;&#12384;&#12375;&#12381;&#12398;&#12392;&#12365;&#12399;&#12477;&#12540;&#12473;&#12434;&#26360;&#12365;&#32066;&#12360;&#12383;&#12425;&#12289;<em>&#24517;&#12378;</em>&#12467;&#12531;&#12497;&#12452;&#12523;&#12375;&#12390;&#12367;&#12384;&#12373;&#12356;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>action&#12434;&#23436;&#25104;&#12373;&#12379;&#12427;&#12290;</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12392;&#12426;&#12354;&#12360;&#12378;&#12289;html&#12398;&#12501;&#12457;&#12540;&#12512;&#12391;&#20837;&#21147;&#12373;&#12428;&#12383;&#21517;&#21069;&#12399;HelloWorldActionForm&#12398;name&#12392;&#12356;&#12358;&#12503;&#12525;&#12497;&#12486;&#12451;&#12408;&#20195;&#20837;&#12373;&#12428;&#12390;&#12356;&#12427;&#12398;&#12391;&#12289;&#12381;&#12428;&#20197;&#22806;&#12398;&#26085;&#20184;&#12394;&#12393;&#12434;&#12371;&#12371;&#12391;form&#12395;&#12475;&#12483;&#12488;&#12375;&#12424;&#12358;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12414;&#12383;&#12289;&#12371;&#12371;&#12391;&#12399;&#26412;&#26469;&#12399;action&#12434;&#20998;&#12369;&#12383;&#26041;&#12364;&#12424;&#12356;&#12398;&#12363;&#12418;&#12375;&#12428;&#12394;&#12356;&#12398;&#12391;&#12377;&#12364;&#12289;&#21029;&#12395;&#20316;&#12427;&#12398;&#12418;&#38754;&#20498;&#12384;&#12375;&#12289;&#12475;&#12483;&#12471;&#12519;&#12531;&#12398;&#21193;&#24375;&#12395;&#12418;&#12394;&#12427;&#12398;&#12391;&#12289;session&#12364;&#12354;&#12387;&#12383;&#12425;&#21021;&#12417;&#12390;&#12450;&#12463;&#12475;&#12473;&#12394;&#12398;&#12391;&#12289;html&#12398;&#12501;&#12457;&#12540;&#12512;&#12408;forward&#12373;&#12379;&#12289;&#12381;&#12358;&#12391;&#12394;&#12356;&#12392;&#12365;&#12399;&#20966;&#29702;&#12434;&#12375;&#12390;&#12300;&#12371;&#12435;&#12395;&#12385;&#12399;&#12289;&#65311;&#65311;&#65311;&#12373;&#12435;&#12301;&#12398;&#12506;&#12540;&#12472;&#12408;&#39131;&#12400;&#12375;&#12414;&#12377;&#12290;&#26178;&#12293;&#20837;&#21147;&#12375;&#12390;&#12356;&#12427;&#12392;&#12300;&#36196;&#12356;&#27874;&#32218;&#12301;&#12364;&#20986;&#12414;&#12377;&#12364;&#12289;&#28961;&#35222;&#12375;&#12390;&#12420;&#12387;&#12390;&#12356;&#12390;&#12289;&#28040;&#12360;&#12394;&#12356;&#12392;&#12365;&#12399; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<ul class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<li> &#20837;&#21147;&#12511;&#12473; </li>
&#9;&#9;&#9;&#9;&#9;&#9;<li> import&#25991;&#12364;&#12394;&#12356; </li>
&#9;&#9;&#9;&#9;&#9;</ul>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#20837;&#21147;&#12511;&#12473;&#12399;&#12356;&#12356;&#12392;&#12375;&#12390;&#12289;import&#25991;&#12399;&#12289;&#20363;&#12360;&#12400;&#12289;&#19979;&#12398;Calendar&#12394;&#12393;&#12392;&#12356;&#12358;&#12463;&#12521;&#12473;&#12434;&#20351;&#12358;&#12392;&#12365;&#12395;&#24517;&#35201;&#12394;&#12427;&#12398;&#12391;&#12289;import&#25991;&#12434;&#26360;&#12367;&#12290;&#12371;&#12428;&#12399;&#12356;&#12388;&#12418;&#12398;&#12300;Source-&gt;Generate 
&#9;&#9;&#9;&#9;&#9;&#9;Setters and Getters&#12301;&#12434;&#12377;&#12427;&#12392;&#12289;&#33258;&#21205;&#12391;&#26360;&#12365;&#36796;&#12435;&#12391;&#12367;&#12428;&#12427;&#12290; </p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12391;&#12365;&#19978;&#12364;&#12387;&#12383;&#12418;&#12398;&#12399;&#20197;&#19979;&#12398;&#12424;&#12358;&#12290; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
/*
 * Created on 2005/05/07
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.chikkun.webcms.test;

import java.io.IOException;
import java.util.Calendar;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

/**
 * @author Administrator
 * 
 * TODO To change the template for this generated type comment go to Window
 * Preferences - Java - Code Style - Code Templates
 */
public class HelloWorldAction extends Action {

    public ActionForward execute(ActionMapping mapping, ActionForm actionForm,
            HttpServletRequest request, HttpServletResponse response)
            throws IOException, ServletException {
        //struts]]>&#12364;&#12450;&#12463;&#12471;&#12519;&#12531;&#12501;&#12457;&#12540;&#12512;&#12398;&#12452;&#12531;&#12473;&#12479;&#12531;&#12473;&#12434;<![CDATA[actionForm]]>&#12395;&#12475;&#12483;&#12488;&#12375;&#12390;&#12356;&#12427;&#12398;&#12391;&#12289;&#12381;&#12428;&#12434;&#12461;&#12515;&#12473;&#12488;&#12375;&#12390;&#21462;&#24471;&#12290;
<![CDATA[        HelloWorldActionForm form = (HelloWorldActionForm) actionForm;

        //]]>&#20170;&#26085;&#12398;&#26085;&#20184;&#12434;&#21462;&#24471;&#12377;&#12427;&#12383;&#12417;
<![CDATA[        Calendar cal = Calendar.getInstance();

        //form]]>&#12395;&#24180;&#12434;&#12475;&#12483;&#12488;<![CDATA[(int]]>&#22411;&#12434;<![CDATA[String]]>&#22411;&#12395;&#12461;&#12515;&#12473;&#12488;&#12539;&#12539;&#12539;&#12300;<![CDATA[+ ""]]>&#12301;&#12391;&#12418;<![CDATA[OK)
        form.setYear(Integer.toString(cal.get(Calendar.YEAR)));
        //form]]>&#12395;&#26376;&#12434;&#12475;&#12483;&#12488;&#12289;&#12383;&#12384;&#12375;&#26376;&#12399;<![CDATA[0]]>&#12364;<![CDATA[1]]>&#26376;&#12394;&#12398;&#12391;&#65297;&#12434;&#36275;&#12375;&#12390;&#12356;&#12427;
<![CDATA[        form.setMonth(Integer.toString(cal.get(Calendar.MONTH) + 1));
        //form]]>&#12395;&#26085;&#12395;&#12385;&#12434;&#12475;&#12483;&#12488;<![CDATA[    

        form.setDay(Integer.toString(cal.get(Calendar.DATE)));
        //form]]>&#12395;&#26178;&#21051;&#12434;&#12475;&#12483;&#12488;
<![CDATA[        form.setHour(Integer.toString(cal.get(Calendar.HOUR_OF_DAY)));
        //form]]>&#12395;&#20998;&#12434;&#12475;&#12483;&#12488;
<![CDATA[        form.setMinute(Integer.toString(cal.get(Calendar.MINUTE)));
        //form]]>&#12395;&#31186;&#12434;&#12475;&#12483;&#12488;
<![CDATA[        form.setSecond(Integer.toString(cal.get(Calendar.SECOND)));
        //]]>&#26332;&#26085;&#12434;&#37197;&#21015;&#12395;&#20837;&#12428;&#12390;
<![CDATA[        String[] aDayOfTheWeek = { "]]>&#26085;<![CDATA[", "]]>&#26376;<![CDATA[", "]]>&#28779;<![CDATA[", "]]>&#27700;<![CDATA[", "]]>&#26408;<![CDATA[", "]]>&#37329;<![CDATA[", "]]>&#22303;<![CDATA[" };
        //form]]>&#12395;&#26332;&#26085;&#12434;&#12475;&#12483;&#12488;
<![CDATA[        form.setDayOfTheWeek(aDayOfTheWeek[cal.get(Calendar.DAY_OF_WEEK)]);

        //]]>&#20966;&#29702;&#12364;&#32066;&#12431;&#12387;&#12383;&#12398;&#12391;<![CDATA[struts-config.xml]]>&#12391;&#23450;&#32681;&#12375;&#12383;<![CDATA[success]]>&#12408;<![CDATA[forward

        return mapping.findForward("success");
    }

}
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p> &#12418;&#12358;1&#12388;&#12398;&#12399;(&#12501;&#12457;&#12540;&#12512;&#34920;&#31034;&#29992;)&#20840;&#12367;&#12402;&#12394;&#24418;&#12398;&#12414;&#12414;&#12391;OK&#12290;&#12388;&#12414;&#12426; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
/*
 * Created on 2005/05/09
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.chikkun.webcms.test;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

/**
 * @author Administrator
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class HelloWorldMenuAction extends Action{

    public ActionForward execute(ActionMapping mapping, ActionForm actionForm,
            HttpServletRequest request, HttpServletResponse response)
            throws IOException, ServletException {

        return mapping.findForward("success");
    }
}
 ]]></source>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>filter&#12434;&#20316;&#25104;</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#20808;&#12411;&#12393;&#12418;&#31777;&#21336;&#12395;&#35302;&#12428;&#12383;&#25991;&#23383;&#21270;&#12369;&#38450;&#27490;&#29992;&#12398;filter&#12290;&#12371;&#12428;&#12399; </p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<code>WEB-INF/src/com/chikkun/common</code>
&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12392;&#12356;&#12358;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#12434;&#20316;&#25104;&#12375;&#12390;&#12289;&#12381;&#12371;&#12395;&#27425;&#12398;&#12424;&#12358;&#12394;&#12477;&#12540;&#12473;&#12434;&#26360;&#12365;&#36796;&#12415;&#12414;&#12377;&#12290;&#20154;&#27096;&#12398;&#20316;&#25104;&#12375;&#12383;&#12418;&#12398;&#12394;&#12398;&#12391;&#12289;&#12467;&#12513;&#12531;&#12488;&#12364;&#22810;&#12356;&#12369;&#12428;&#12393;&#12289;&#12381;&#12398;&#12414;&#12414;&#36617;&#12379;&#12414;&#12377;&#12290;&#12371;&#12428;&#12434;&#12467;&#12500;&#12506;&#12375;&#12390;&#12367;&#12384;&#12373;&#12356;(&#12418;&#12385;&#12429;&#12435;&#12467;&#12531;&#12497;&#12452;&#12523;&#12418;)&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
/*
 * $Header: /home/und/memo/src/documentation/content/xdocs/computer/java/primary/struts.xml,v 1.1 2005/05/31 03:04:35 chikkun Exp $
 * $Revision: 1.1 $
 * $Date: 2005/05/31 03:04:35 $
 *
 * ====================================================================
 *
 * The Apache Software License, Version 1.1
 *
 * Copyright (c) 1999-2001 The Apache Software Foundation.  All rights
 * reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. The end-user documentation included with the redistribution, if
 *    any, must include the following acknowlegement:
 *       "This product includes software developed by the
 *        Apache Software Foundation (http://www.apache.org/)."
 *    Alternately, this acknowlegement may appear in the software itself,
 *    if and wherever such third-party acknowlegements normally appear.
 *
 * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
 *    Foundation" must not be used to endorse or promote products derived
 *    from this software without prior written permission. For written
 *    permission, please contact apache@apache.org.
 *
 * 5. Products derived from this software may not be called "Apache"
 *    nor may "Apache" appear in their names without prior written
 *    permission of the Apache Group.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * ====================================================================
 *
 * This software consists of voluntary contributions made by many
 * individuals on behalf of the Apache Software Foundation.  For more
 * information on the Apache Software Foundation, please see
 * <http://www.apache.org/>.
 *
 * [Additional notices, if required by prior licensing conditions]
 *
 */
package com.chikkun.common;


import java.io.IOException;

import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;


/**
 * <p>Example filter that sets the character encoding to be used in parsing the
 * incoming request, either unconditionally or only if the client did not
 * specify a character encoding.  Configuration of this filter is based on
 * the following initialization parameters:</p>
 * <ul>
 * <li><strong>encoding</strong> - The character encoding to be configured
 *     for this request, either conditionally or unconditionally based on
 *     the <code>ignore</code> initialization parameter.  This parameter
 *     is required, so there is no default.</li>
 * <li><strong>ignore</strong> - If set to "true", any character encoding
 *     specified by the client is ignored, and the value returned by the
 *     <code>selectEncoding()</code> method is set.  If set to "false,
 *     <code>selectEncoding()</code> is called <strong>only</strong> if the
 *     client has not already specified an encoding.  By default, this
 *     parameter is set to "true".</li>
 * </ul>
 *
 * <p>Although this filter can be used unchanged, it is also easy to
 * subclass it and make the <code>selectEncoding()</code> method more
 * intelligent about what encoding to choose, based on characteristics of
 * the incoming request (such as the values of the <code>Accept-Language</code>
 * and <code>User-Agent</code> headers, or a value stashed in the current
 * user's session.</p>
 *
 * @author Craig McClanahan
 * @version $Revision: 1.1 $ $Date: 2005/05/31 03:04:35 $
 * @web.filter
 *    description="character encoding"
 *    name="Set Character Encoding"
 * @web.filter-init-param
 *    name="encoding"
 *    value="Windows-31J"
 * @web.filter-mapping
 *    url-pattern="/*"
 *    servlet-name="Set Character Encoding"
 */
public class SetCharacterEncodingFilter implements Filter {


    // ----------------------------------------------------- Instance Variables


    /**
     * The default character encoding to set for requests that pass through
     * this filter.
     */
    protected String encoding = null;


    /**
     * The filter configuration object we are associated with.  If this value
     * is null, this filter instance is not currently configured.
     */
    protected FilterConfig filterConfig = null;


    /**
     * Should a character encoding specified by the client be ignored?
     */
    protected boolean ignore = true;


    // --------------------------------------------------------- Public Methods


    /**
     * Take this filter out of service.
     */
    public void destroy() {

        this.encoding = null;
        this.filterConfig = null;

    }


    /**
     * Select and set (if specified) the character encoding to be used to
     * interpret request parameters for this request.
     *
     * @param request The servlet request we are processing
     * @param result The servlet response we are creating
     * @param chain The filter chain we are processing
     *
     * @exception IOException if an input/output error occurs
     * @exception ServletException if a servlet error occurs
     */
    public void doFilter(ServletRequest request, ServletResponse response,
                         FilterChain chain)
	throws IOException, ServletException {

        // Conditionally select and set the character encoding to be used
        if (ignore || (request.getCharacterEncoding() == null)) {
            String encoding = selectEncoding(request);
            if (encoding != null)
                request.setCharacterEncoding(encoding);
        }
        
	// Pass control on to the next filter
        chain.doFilter(request, response);

    }


    /**
     * Place this filter into service.
     *
     * @param filterConfig The filter configuration object
     */
    public void init(FilterConfig filterConfig) throws ServletException {

	this.filterConfig = filterConfig;
        this.encoding = filterConfig.getInitParameter("encoding");
        String value = filterConfig.getInitParameter("ignore");
        if (value == null)
            this.ignore = true;
        else if (value.equalsIgnoreCase("true"))
            this.ignore = true;
        else if (value.equalsIgnoreCase("yes"))
            this.ignore = true;
        else
            this.ignore = false;

    }


    // ------------------------------------------------------ Protected Methods


    /**
     * Select an appropriate character encoding to be used, based on the
     * characteristics of the current request and/or filter initialization
     * parameters.  If no character encoding should be set, return
     * <code>null</code>.
     * <p>
     * The default implementation unconditionally returns the value configured
     * by the <strong>encoding</strong> initialization parameter for this
     * filter.
     *
     * @param request The servlet request we are processing
     */
    protected String selectEncoding(ServletRequest request) {

        return (this.encoding);

    }


}

 ]]></source>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>&#27425;&#12399;validation.xml</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#20309;&#24230;&#12363;&#20986;&#12390;&#12365;&#12383;&#26368;&#21021;&#12398;&#38915;&#12395;&#35299;&#20941;&#12375;&#12383;blank&#12434;WEB-INF&#20197;&#19979;&#12434;&#12467;&#12500;&#12540;&#12375;&#12383;&#38555;&#12289;&#12381;&#12398;&#20013;&#12395;validation.xml&#12398;&#12402;&#12394;&#24418;&#12364;&#12354;&#12427;&#12398;&#12391;&#12289;&#12381;&#12428;&#12434;&#32232;&#38598;&#12375;&#12414;&#12377;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#26368;&#21021;&#12398;&#12402;&#12394;&#24418;&#12399; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE form-validation PUBLIC
          "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
          "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">

<form-validation>

<!--
     This is a minimal Validator form file with a couple of examples.
-->

    <global>

        <!-- An example global constant
        <constant>
            <constant-name>postalCode</constant-name>
            <constant-value>^\d{5}\d*$</constant-value>
        </constant>
        end example-->

    </global>

    <formset>

        <!-- An example form -->
        <form name="logonForm">
            <field
                property="username"
                depends="required">
                    <arg key="logonForm.username"/>
            </field>
            <field
                property="password"
                depends="required,mask">
                    <arg key="logonForm.password"/>
                    <var>
                        <var-name>mask</var-name>
                        <var-value>^[0-9a-zA-Z]*$</var-value>
                    </var>
            </field>
        </form>

    </formset>

    <!-- An example formset for another locale -->
    <formset language="fr">

        <constant>
            <constant-name>postalCode</constant-name>
            <constant-value>^[0-9a-zA-Z]*$</constant-value>
        </constant>

        <!-- An example form -->
        <form name="logonForm">
            <field
                property="username"
                depends="required">
                    <arg key="logonForm.username"/>
            </field>
            <field
                property="password"
                depends="required,mask">
                    <arg key="logonForm.password"/>
                    <var>
                        <var-name>mask</var-name>
                        <var-value>^[0-9a-zA-Z]*$</var-value>
                    </var>
            </field>
        </form>

   </formset>

</form-validation>

 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12391;&#12289;&#23569;&#12293;&#38263;&#12356;&#12398;&#12391;&#12289;&#12467;&#12513;&#12531;&#12488;&#12434;&#21462;&#12387;&#12390;&#12375;&#12414;&#12387;&#12390; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<?xml version="1.0" encoding="Windows-31J" ?>
<!DOCTYPE form-validation PUBLIC
   "-//Apache Software Foundation//
    DTD Commons Validator Rules Configuration 1.1.3//EN"
   "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">

<form-validation>
    <formset>

   </formset>
</form-validation>
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12392;&#32302;&#12417;&#12390; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
	<formset>
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12392; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
	</formset>
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12398;&#38291;&#12395;&#12289; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<form name="com.chikkun.webcms.test.HelloWorldActionForm">
  <field property="name"
         depends="required,maxlength">
    <msg name="required" key="errors.empty" />
    <msg name="maxlength" key="errors.maxlength" />
    <var>
      <var-name>maxlength</var-name>
      <var-value>10</var-value>
    </var>
    <arg name="maxlength" key="name" position="0" />
    <arg name="maxlength" key="${var:maxlength}" position="1"
     resource="false"/>
    <arg name="required" key="name" position="0" />
  </field>
</form>
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12434;&#26360;&#12365;&#36796;&#12435;&#12391;&#12367;&#12384;&#12373;&#12356;&#12290;&#24847;&#21619;&#12399;&#12375;&#12387;&#12363;&#12426;&#21193;&#24375;&#12375;&#12390;&#12367;&#12384;&#12373;&#12356;(&#12354;&#12414;&#12426;&#35443;&#12375;&#12367;&#35500;&#26126;&#12377;&#12427;&#12392;&#26412;&#12364;&#26360;&#12369;&#12390;&#12375;&#12414;&#12356;&#12414;&#12377;(--;)&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#26368;&#32066;&#30340;&#12395;&#12399; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<form-validation>
  <formset>
    <form name="com.chikkun.webcms.test.HelloWorldActionForm">
      <field property="name"
        depends="required,maxlength">
        <msg name="required" key="errors.empty" />
        <msg name="maxlength" key="errors.maxlength" />
        <var>
          <var-name>maxlength</var-name>
          <var-value>10</var-value>
        </var>
        <arg name="maxlength" key="name" position="0" />
        <arg name="maxlength" key="${var:maxlength}" position="1"
         resource="false"/>
        <arg name="required" key="name" position="0" />
      </field>
    </form>
  </formset>
</form-validation>
 ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12390;&#12394;&#24863;&#12376;&#12391;&#12377;&#12363;&#12394;&#12290; </p>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>ApplicationResources.properties&#12434;&#20316;&#25104;</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#33521;&#35486;&#12384;&#12392;&#12289;&#20309;&#12418;&#12379;&#12378;&#12395;&#12371;&#12371;&#12395;&#26360;&#12365;&#36796;&#12435;&#12384;&#12418;&#12398;&#12364;&#20351;&#12360;&#12427;&#12398;&#12384;&#12364;&#12289;&#27531;&#24565;&#12394;&#12364;&#12425;&#26085;&#26412;&#35486;&#12399;&#26085;&#26412;&#35486;&#12398;&#12414;&#12414;&#26360;&#12365;&#36796;&#12435;&#12384;&#12418;&#12398;&#12434;&#22793;&#25563;&#12375;&#12390;&#12289;&#20351;&#12431;&#12394;&#12367;&#12390;&#12399;&#12394;&#12425;&#12394;&#12356;&#12290;&#12371;&#12428;&#12364;&#32080;&#27083;&#38754;&#20498;&#12384;&#12369;&#12428;&#12393;&#12375;&#12423;&#12358;&#12364;&#12394;&#12356;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12381;&#12371;&#12391;&#12289;&#12392;&#12426;&#12354;&#12360;&#12378; </p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;websms/WEB-INF/conf/ApplicationResources_ja.properties 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12392;&#12356;&#12358;&#12501;&#12449;&#12452;&#12523;&#12434;&#20316;&#25104;&#12377;&#12427;&#12290; </p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12377;&#12368;&#19978;&#12398;validation.xml&#12398;&#35373;&#23450;&#12391;&#12300;key=&#12539;&#12539;&#12539;&#12301;&#12434;&#26360;&#12365;&#36796;&#12435;&#12391;&#12356;&#12367;&#12290; </p>
&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ errors.empty={0}]]>&#12399;&#24517;&#38920;&#12391;&#12377;&#12290;<![CDATA[ 
						errors.maxlength={0}]]>&#12399;<![CDATA[{1}]]>&#20197;&#19979;&#12391;&#12394;&#12367;&#12390;&#12399;&#12394;&#12426;&#12414;&#12379;&#12435;&#12290;<![CDATA[ name=]]>&#21517;&#21069;<![CDATA[ ]]></source>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12381;&#12398;&#27425;&#12395;&#12289;dos&#12503;&#12525;&#12531;&#12503;&#12488;&#12363;&#12425; </p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<code class="kbd">native2ascii.exe 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;ApplicationResources_ja.properties 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;ApplicationResources.properties</code>
&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#12392;&#12383;&#12383;&#12365;&#12289;&#12391;&#12365;&#12354;&#12364;&#12387;&#12383;&#12501;&#12449;&#12452;&#12523;<code>ApplicationResources.properties</code>&#12434; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection">
&#9;&#9;&#9;&#9;&#9;&#9;<code>WEB-INF/classes/Resources</code>
&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> &#12392;&#12356;&#12358;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#12395;&#12467;&#12500;&#12540;&#12377;&#12427;&#12290; </p>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;<em>&#27880;&#24847;</em>&#12392;&#12375;&#12390;&#12289;eclipse&#12399;&#26178;&#12293;&#12289;f5&#12394;&#12393;&#12391;&#12300;&#26356;&#26032;&#12301;&#12373;&#12379;&#12427;&#12392;&#12477;&#12540;&#12473;&#12434;&#20840;&#12390;&#12467;&#12531;&#12497;&#12452;&#12523;&#12377;&#12427;&#12398;&#12391;&#12377;&#12364;&#12289;&#12381;&#12398;&#38555;&#12289;classes&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#12434;&#12356;&#12387;&#12383;&#12435;&#21066;&#38500;&#12375;&#12390;&#12363;&#12425;&#12381;&#12428;&#12434;&#34892;&#12356;&#12414;&#12377;&#12290;&#12388;&#12414;&#12426;&#12289;&#12379;&#12387;&#12363;&#12367;&#12467;&#12500;&#12540;&#12375;&#12383;<code>ApplicationResources.properties</code>&#12364;<em>&#12394;&#12367;&#12394;&#12387;&#12390;&#12375;&#12414;&#12356;&#12414;&#12377;</em>&#12290;&#20170;&#22238;&#12289;&#23455;&#12399;&#12289;&#12381;&#12428;&#12391;&#12399;&#12414;&#12387;&#12390;1&#26178;&#38291;&#20197;&#19978;&#28961;&#39364;&#12395;&#12375;&#12414;&#12375;&#12383;(--;)&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;<title>&#12424;&#12358;&#12420;&#12367;&#26368;&#24460;&#12398;JSP</title>
&#9;&#9;&#9;&#9;&#9;<p class="subsection"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#33394;&#12293;&#12394;html&#12398;&#12479;&#12464;&#12376;&#12419;&#12394;&#12356;&#12479;&#12464;&#12364;&#12354;&#12426;&#12414;&#12377;&#12364;&#12289;&#38929;&#24373;&#12387;&#12390;&#21193;&#24375;&#12375;&#12390;&#12367;&#12384;&#12373;&#12356;(&#12383;&#12384;&#12375;&#12289;&#23455;&#38555;&#12395;&#12399;&#12411;&#12392;&#12435;&#12393;&#26368;&#36817;&#12399;jsp&#12434;&#20693;&#12399;&#20351;&#12387;&#12390;&#12362;&#12425;&#12378;&#12289;&#12381;&#12398;&#20195;&#12431;&#12426;velocity&#12392;&#12356;&#12358;&#12418;&#12398;&#12434;&#20351;&#12387;&#12390;&#12356;&#12414;&#12377;&#12290;&#12383;&#12384;&#20840;&#12367;&#30693;&#12425;&#12394;&#12356;&#12392;&#22256;&#12427;&#12398;&#12391;&#12289;&#12420;&#12399;&#12426;&#12289;&#22810;&#23569;&#12399;&#21193;&#24375;&#12375;&#12390;&#12362;&#12356;&#12383;&#26041;&#12364;&#33391;&#12356;&#12391;&#12375;&#12423;&#12358;&#12290; 
&#9;&#9;&#9;&#9;&#9;&#9;</p>
&#9;&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;&#9;<title>&#21517;&#21069;&#12434;&#20837;&#21147;&#12377;&#12427;&#12383;&#12417;&#12398;input.jsp</title>
&#9;&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<%@page pageEncoding="Windows-31J"
  contentType="text/html; charset=Windows-31J" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<html:html locale="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-31J"/>
<title>The First Experience of Struts</title>
</head>
<body>

<h2>]]>&#21021;&#12417;&#12390;&#12398;<![CDATA[Struts</h2>


<html:messages id="msg" message="false">
  <bean:write name="msg" ignore="true" filter="false"/>
</html:messages>

<html:form action="/helloWorld" method="post">


]]>&#12362;&#21517;&#21069;<![CDATA[(10]]>&#25991;&#23383;&#20197;&#19979;<![CDATA[):<html:text property="name"/>

<html:submit value="]]>&#23455;&#34892;<![CDATA["/>

</html:form>
</body>
</html:html>

 ]]></source>
&#9;&#9;&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;<title>&#20837;&#21147;&#12373;&#12428;&#12383;&#21517;&#21069;&#12392;&#26085;&#20184;&#12434;&#34920;&#31034;&#12377;&#12427;hello.jsp</title>
&#9;&#9;&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ 
<%@page pageEncoding="Windows-31J"
   contentType="text/html; charset=Windows-31J" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-31J"/>
<title>]]>&#12371;&#12435;&#12395;&#12385;&#12399;&#12289;&#36196;&#12385;&#12419;&#12435;<![CDATA[</title>
</head>
<body>

]]>&#12371;&#12435;&#12395;&#12385;&#12399;&#12289;<![CDATA[<bean:write name="helloWorldForm" property="name" scope="request"/>]]>&#12373;&#12435;&#12290;


<![CDATA[<br/>
<br/>

]]>&#20170;&#26085;&#12398;&#26085;&#26178;&#12399;
<![CDATA[<bean:write  name="helloWorldForm" property="year"/>]]>&#24180;
<![CDATA[<bean:write  name="helloWorldForm" property="month"/>]]>&#26376;
<![CDATA[<bean:write  name="helloWorldForm" property="day"/>]]>&#26085;
<![CDATA[(
<bean:write  name="helloWorldForm" property="dayOfTheWeek"/>]]>&#26332;&#26085;
<![CDATA[)]]>&#12288;
<![CDATA[<bean:write  name="helloWorldForm" property="hour"/>]]>&#26178;
<![CDATA[<bean:write  name="helloWorldForm" property="minute"/>]]>&#20998;
<![CDATA[<bean:write  name="helloWorldForm" property="second"/>]]>&#31186;
&#12288;&#12391;&#12377;&#12290;
<![CDATA[<br/>
<html:link action="helloWorldMenu">]]>&#25147;&#12427;<![CDATA[</html:link>
</body>
</html>
 ]]></source>
&#9;&#9;&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;&#9;<section>
&#9;&#9;&#9;&#9;&#9;&#9;<title>&#12373;&#12354;&#12354;&#12354;&#12354;&#23455;&#34892;</title>
&#9;&#9;&#9;&#9;&#9;&#9;<p class="section"> tomcat&#12364;&#31435;&#12385;&#19978;&#12364;&#12387;&#12390;&#12356;&#12427;&#12371;&#12392;&#12434;&#30906;&#35469;&#12375;&#12390;&#12289; </p>
&#9;&#9;&#9;&#9;&#9;&#9;<p class="section"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;http://localhost:8080/webcms/helloWorldMenu </p>
&#9;&#9;&#9;&#9;&#9;&#9;<p class="section"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#12434;&#12502;&#12521;&#12454;&#12470;&#12391;&#12383;&#12383;&#12356;&#12390;&#12289;&#21517;&#21069;&#12434;&#20837;&#21147;&#12377;&#12427;&#30011;&#38754;&#12364;&#20986;&#12390;&#12289;&#21517;&#21069;&#12434;&#20837;&#21147;&#12375;&#12390;&#12289;&#23455;&#34892;&#12508;&#12479;&#12531;&#12434;&#25276;&#12377;&#12392; </p>
&#9;&#9;&#9;&#9;&#9;&#9;<source xml:space="preserve"><![CDATA[ ]]>&#12371;&#12435;&#12395;&#12385;&#12399;&#12289;&#22338;&#20117;&#12373;&#12435;&#12290;<![CDATA[ ]]>&#20170;&#26085;&#12398;&#26085;&#26178;&#12399;<![CDATA[ 2005]]>&#24180;<![CDATA[ 5]]>&#26376;<![CDATA[ 9]]>&#26085;<![CDATA[ ( ]]>&#28779;&#26332;&#26085;<![CDATA[ )]]>&#12288;<![CDATA[ 13]]>&#26178;<![CDATA[ 
							41]]>&#20998;<![CDATA[ 12]]>&#31186;&#12288;&#12391;&#12377;&#12290;<![CDATA[ ]]>&#25147;&#12427;<![CDATA[ ]]></source>
&#9;&#9;&#9;&#9;&#9;&#9;<p class="section"> &#12394;&#12435;&#12390;&#34920;&#31034;&#12373;&#12428;&#12428;&#12400;OK&#12391;&#12377;&#12290; </p>
&#9;&#9;&#9;&#9;&#9;&#9;<p class="section"> 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#12381;&#12375;&#12390;&#12289;&#21517;&#21069;&#12434;&#20837;&#21147;&#12375;&#12394;&#12356;&#12391;&#23455;&#34892;&#12508;&#12479;&#12531;&#12434;&#25276;&#12377;&#12392;&#12289;&#19978;&#35352;&#12398;&#12424;&#12358;&#12394;&#12506;&#12540;&#12472;&#12395;&#39131;&#12400;&#12373;&#12428;&#12378;&#12289;&#12300; 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#21517;&#21069;&#12399;&#24517;&#38920;&#12391;&#12377;&#12290;&#12301;&#12392;&#12356;&#12358;&#12513;&#12483;&#12475;&#12540;&#12472;&#12364;&#34920;&#31034;&#12373;&#12428;&#12383;&#12426;&#12289;10&#25991;&#23383;&#20197;&#19978;&#12398;&#21517;&#21069;&#12434;&#20837;&#21147;&#12375;&#12383;&#12425;&#12300; 
&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#21517;&#21069;&#12399;10&#25991;&#23383;&#20197;&#19979;&#12391;&#12394;&#12367;&#12390;&#12399;&#12394;&#12426;&#12414;&#12379;&#12435;&#12290;&#12301;&#12394;&#12435;&#12390;&#12356;&#12358;&#12513;&#12483;&#12475;&#12540;&#12472;&#12364;&#34920;&#31034;&#12373;&#12428;&#12383;&#12425;&#12289; </p>
&#9;&#9;&#9;&#9;&#9;&#9;<p class="section"> &#12381;&#12428;&#12391;<em>&#12363;&#12435;&#12410;&#12365;</em>&#12290; </p>
&#9;&#9;&#9;&#9;&#9;&#9;<p class="section"> &#12405;&#12358;&#12289;&#24847;&#22806;&#12395;&#26178;&#38291;&#12364;&#12363;&#12363;&#12387;&#12383;&#12290; </p>
&#9;&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;&#9;</section>
&#9;&#9;&#9;</section>
&#9;&#9;</section>
&#9;</body>
</document>