$B$*@$OC$K$J$j$^$9!#EDCf$G$9!#(B<br><br>Action$B%/%i%9$N(Binitialize$B%a%=%C%I$r;HMQ$7$F!"(B<br>$B%W%m%Q%F%#$N=i4|2=$d%m%0%$%sH=Dj=hM}$J$I$r$7$h$&$H9M$($F$^$9!#(B<br>$B2<5-$N%3!<%I$N$h$&$K!"(BAction$B%a%=%C%I$NCf$G(BAction$B%a%=%C%I(B<br>$B$r8F$S=P$7$?>l9g!"(Bhoge()$B%a%=%C%I8F$S=P$7A0$H!"(B<br>index()$B%a%=%C%I8F$S=P$7A0$K!"9g7W(B2$B2s!"(Binitialize()$B%a%=%C%I$,(B<br>$B<B9T$5$l$F$7$^$$$^$9!#(B<br>Action$B%/%i%9$,@8@.$5$l$?$H$-$K(B1$B2s$@$1!"(Binitialize()$B%a%=%C%I$,(B<br>
$B<B9T$5$l$k$h$&$KJQ99$9$k$3$H$O2DG=$G$7$g$&$+!)(B<br><br><br>public class HogeAction extends Action {<br>&nbsp;&nbsp; &nbsp;public List&lt;String&gt; hogeList;<br><br>&nbsp;&nbsp; &nbsp;@Override<br>&nbsp;&nbsp; &nbsp;public void initialize() {<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;hogeList = new ArrayList&lt;String&gt;();<br>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;hogeList.add(&quot;hoge1&quot;);<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;hogeList.add(&quot;hoge2&quot;);<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;hogeList.add(&quot;hoge3&quot;);<br><br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;// $B%m%0%$%sH=Dj=hM}$J$I(B<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;// $B>JN,(B<br>&nbsp;&nbsp; &nbsp;}<br><br><br>&nbsp;&nbsp; &nbsp;@Path(&quot;hoge&quot;)<br>
&nbsp;&nbsp; &nbsp;public ActionResult hoge() {<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;// $B>JN,(B<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;return index();<br>&nbsp;&nbsp; &nbsp;}<br><br>&nbsp;&nbsp; &nbsp;@Path(&quot;&quot;)<br>&nbsp;&nbsp; &nbsp;public ActionResult index() {<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;// $B>JN,(B<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;return new Forward(&quot;index.jsp&quot;);<br>
&nbsp;&nbsp; &nbsp;}<br>}<br><br><br>$B0J>e$K$J$j$^$9$,!"$h$m$7$/$*4j$$$7$^$9!#(B<br><br>--<br>Hirokazu Tanaka