$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> public List<String> hogeList;<br><br> @Override<br> public void initialize() {<br> hogeList = new ArrayList<String>();<br>
hogeList.add("hoge1");<br> hogeList.add("hoge2");<br> hogeList.add("hoge3");<br><br> // $B%m%0%$%sH=Dj=hM}$J$I(B<br> // $B>JN,(B<br> }<br><br><br> @Path("hoge")<br>
public ActionResult hoge() {<br> // $B>JN,(B<br> return index();<br> }<br><br> @Path("")<br> public ActionResult index() {<br> // $B>JN,(B<br> return new Forward("index.jsp");<br>
}<br>}<br><br><br>$B0J>e$K$J$j$^$9$,!"$h$m$7$/$*4j$$$7$^$9!#(B<br><br>--<br>Hirokazu Tanaka