$B?9OF$G$9(B 
$B:FEY$9$_$^$;$s!"@h$[$I$N%a!<%k$,$J$<$+2~9T$,A4$F:o=|$5$l$F$7$^$$$^$7$?!#(B

$BGO>l$5$s2sEz$"$j$,$H$&$4$6$$$^$9!#(B
&gt;&gt; $B#1!%(BAction$B$NLa$jCM$H$7$F(BFilterChain.doFilter()$B$r<B9T$7$?$$(B 
&gt; $BBP1~$7$F$_$^$9!#(B
$B$h$m$7$/$*4j$$$$$?$7$^$9!#(B 

&gt;&gt; $B#2!%(BGuice$BMxMQ;~$K(BMessagesBehaviour$B$N<BAu%/%i%9$rJQ99$7$?$$(B 
&gt; com.google.inject.util.Modules#override() $B$r;H$($P$h$$$H;W$$$^$9!#(B 
Guice2$B$NCN<1ITB-$G(BCubbyModule$B$N(B280$B9T0J9_$N$h$&$J%a%=%C%I$,@k8@$7$F$"$k>l9g$O(BModules#override()$B$G$-$k$H;W$C$F$$$^$7$?!#(B 
MyCubbyModule$B$K(BMessagesBehaviour$B$rJV$9%a%=%C%I$rDI2C$7$?$H$3$m$&$^$/$$$-$^$7$?!#(B 

&gt;&gt; $B#3!%(BFileUploadModule#provideFileUpload()$B$G@_Dj$5$l$k=i4|CM$K$D$$$F(B 
&gt; sizeThreshold $B$d(B fileSizeMax $B$O:n@.$9$k%"%W%j%1!<%7%g%s$K$h$C$F0[$J$k$O(B 
&gt; $B$:$G$9$7!"DL>o$O%f!<%6!<$,=q$-49$($k$b$N$@$H;W$&$N$G!"(BFileUploadModule 
&gt; $B$G$OCM$r@_Dj$7$F$$$^$;$s!#(B
$BN;2r$7$^$7$?!#(B 

$B0J>e!"$h$m$7$/$*4j$$$$$?$7$^$9!#(B


2009/07/09 18:40 $B$K(B BABA,Yasuyuki $B$5$s$O=q$-$^$7$?(B:
&gt; $BGO>l$G$9!#(B
&gt;
&gt;&gt; $B#1!%(BAction$B$NLa$jCM$H$7$F(BFilterChain.doFilter()$B$r<B9T$7$?$$(B
&gt; $B8=>u$@$H(B FilterChain $B$,$I$3$+$i$b<hF@$G$-$J$$$N$G$9$M!#(B
&gt; $BBP1~$7$F$_$^$9!#(B
&gt;
&gt;&gt; $B#2!%(BGuice$BMxMQ;~$K(BMessagesBehaviour$B$N<BAu%/%i%9$rJQ99$7$?$$(B
&gt; com.google.inject.util.Modules#override() $B$r;H$($P$h$$$H;W$$$^$9!#(B
&gt; <a href="https://www.seasar.org/svn/cubby/branches/2.0.x/cubby-apps/cubby-example-gae/src/org/seasar/cubby/exmaple/gae/ApplicationModule.java">https://www.seasar.org/svn/cubby/branches/2.0.x/cubby-apps/cubby-example-gae/src/org/seasar/cubby/exmaple/gae/ApplicationModule.java</a>
&gt; $B$G;H$C$F$$$^$9!#(B
&gt;
&gt; install(Modules.override(new CubbyModule(), new FileUploadModule())
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;.with(new MyCubbyModule()));
&gt;
&gt; Guice 2.0 $B$+$i$3$N%*!<%P!<%i%$%I5!G=$,$D$$$?$N$G!"(BModule $B$N%a%=%C%I$O(B
&gt; private $B$K$7$F$$$^$9!#(B
&gt;
&gt;&gt; $B#3!%(BFileUploadModule#provideFileUpload()$B$G@_Dj$5$l$k=i4|CM$K$D$$$F(B
&gt; sizeThreshold $B$d(B fileSizeMax $B$O:n@.$9$k%"%W%j%1!<%7%g%s$K$h$C$F0[$J$k$O(B
&gt; $B$:$G$9$7!"DL>o$O%f!<%6!<$,=q$-49$($k$b$N$@$H;W$&$N$G!"(BFileUploadModule
&gt; $B$G$OCM$r@_Dj$7$F$$$^$;$s!#(B
&gt;
&gt; - S2 $B$N(B app-cubby.dicon $B$d(B spring $B$N(B spring.xml $B$O%"%W%j%1!<%7%g%s$N%=!<(B
&gt; $B%9%D%j!<0J2<$KG[Hw$5$l$k$N$G!"$=$l$r;HMQ<T$,=q$-49$($F;HMQ$9$k(B
&gt; - Guice $B$N(B FileUploadModuel $B$O%U%l!<%`%o!<%/$N(B jar $B$KF~$C$F$$$k$N$G;HMQ(B
&gt; $B<T$,=q$-49$($i$l$J$$$N$G!"(BModules#override $B$G%*!<%P!<%i%$%I$9$k(B
&gt;
&gt; $B$H!"9M$($F$$$^$9!#(B
&gt;
&gt;&gt; $B$"$H!"<ALd$G$O$J$$$N$G$9$,(BCubbyModule#privideFlashMap()$B$O(B
&gt; provideFlashMap()$B$N4V0c$$$G$O$J$$$G$7$g$&$+!)(B
&gt; $B$"$j$,$H$&$4$6$$$^$9!"=$@5$7$F$*$-$^$9!#(B
&gt;
&gt;
&gt; k.moriwaki $B$5$s$O=q$-$^$7$?(B:
&gt;&gt; $B?9OF$H?=$7$^$9!#(B
&gt;&gt; Cubby2.0.0-rc1$B$K$D$$$FMWK>$H!"<ALd3NG'$7$?$$;v$,$"$j$^$9!#(B
&gt;&gt;
&gt;&gt; $B4D6-(B
&gt;&gt; &nbsp; Cubby2.0.0-rc1
&gt;&gt; &nbsp; Guice2.0
&gt;&gt; &nbsp; GAE/J
&gt;&gt;
&gt;&gt; $B<ALd(B
&gt;&gt; $B#1!%(BAction$B$NLa$jCM$H$7$F(BFilterChain.doFilter()$B$r<B9T$7$?$$(B
&gt;&gt; &nbsp; &nbsp; $BNc$H$7$F!"0J2<$N$h$&$J(BURL$B$,(BAction$B$GDj5A$5$l$F$$$k$H$7$^$9!#(B
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a - <a href="http://foo.appspot.com/pageA.html">http://foo.appspot.com/pageA.html</a> -&gt; IndexAction#pageA()
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; b - <a href="http://foo.appspot.com/pageB.html">http://foo.appspot.com/pageB.html</a> -&gt; IndexAction#pageB()
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; c - <a href="http://foo.appspot.com/pageC.html">http://foo.appspot.com/pageC.html</a> -&gt; IndexAction#pageC()
&gt;&gt; &nbsp; &nbsp; a$B!"(Bb$B$N>l9g$O!V(BpageA.html$B!W!V(BpageB.html$B!W$,<B:]$K$O$OB8:_$7$J$$$N$G!"(B
&gt;&gt; &nbsp; &nbsp; Action$B$G$J$s$i$+$N=hM}$r9T$C$?8e!"(BJSP$B$K(BForward$B$7(Bhtml$B$K%"%/%;%9$7$?$h$&$K8+$;$+$1$?$$!#(B
&gt;&gt; &nbsp; &nbsp; c$B$N>l9g$O(BpageC.html$B$,B8:_$9$k$N$G$=$N$^$^=hM}$r%9%k!<$7$?$$!#(B
&gt;&gt; &nbsp; &nbsp; $B$H$$$C$?46$8$G$9!#(B
&gt;&gt; &nbsp; &nbsp; cubbyFilter$B$N(BignorePathPattern$B$G@_Dj$7$F$bNI$$$N$G$9$,!":Y$+$$@)8f$r9T$$$?$$>l9g(B
&gt;&gt; &nbsp; &nbsp; web.xml$B$h$j(BAction$B$NLa$jCM$H$7$F@_Dj$G$-$kJ}$,4JC1$+$H;W$$$^$9!#(B
&gt;&gt; &nbsp; &nbsp; &nbsp; $B8=>u!"$=$N$h$&$JF0:n$r$9$k(BActionResult$B$ODs6!$5$l$F$$$J$$$G$9!J$H;W$$$^$9!K$,!"(B
&gt;&gt; &nbsp; &nbsp; $B>e5-F0:n$r<B9T$9$k%/%i%9$rDI2C$7$FD:$/$3$H$O2DG=$G$7$g$&$+!)(B
&gt;&gt; &nbsp; &nbsp; $B$^$?!"$3$A$i$,M}2r$7$F$$$J$$$@$1$G8=:_$G$b>e5-F0:n$r<B9T$9$k%/%i%9$r:n@.$G$-$k>l9g$O(B
&gt;&gt; &nbsp; &nbsp; $B$*<j?t$G$9$,$465<x$/$@$5$$!#(B
&gt;&gt;
&gt;&gt; $B#2!%(BGuice$BMxMQ;~$K(BMessagesBehaviour$B$N<BAu%/%i%9$rJQ99$7$?$$(B
&gt;&gt; &nbsp; &nbsp; MessagesBehaviour$B$N<BAu%/%i%9$rDj5A$7$F$$$k(BCubbyModule#configureComponents()$B$,(B
&gt;&gt; &nbsp; &nbsp; private$B$G@k8@$5$l$F$$$k$?$a4JC1$KJQ99$G$-$J$$$h$&$K8+$($^$9!#(B
&gt;&gt; &nbsp; &nbsp; CubbyModule#configureComponents()$B$r(Bprotected$B$KJQ99$9$k$+!"(BProvider methods$B$G@k8@$7$F$$$?$@$-(B
&gt;&gt; &nbsp; &nbsp; $B%b%8%e!<%k$N%*!<%P!<%i%$%I$,$G$-$k$h$&$K$7$F$$$?$@$/$3$H$O2DG=$G$7$g$&$+!)(B
&gt;&gt; &nbsp; &nbsp; MessagesBehaviour$B$@$1$G$J$/(BFormatPattern$B$NJQ99$r$7$?$$>l9g$bF1MM$+$H;W$$$^$9!#(B
&gt;&gt;
&gt;&gt; $B#3!%(BFileUploadModule#provideFileUpload()$B$G@_Dj$5$l$k=i4|CM$K$D$$$F(B
&gt;&gt; &nbsp; &nbsp; &nbsp; Maven2$B$N(Bcubby-s2-archetype$B$J$I$G@8@.$5$l$k(Bapp-cubby.dicon$B$G$O(BsizeThreshold$B$d(BfileSizeMax$B$K(B
&gt;&gt; &nbsp; &nbsp; $B?d>)CO!J$@$H;W$$$^$9!K$,@_Dj$5$l$F$$$^$9$,!"(BFileUploadModule$B$G$OFC$K@_Dj$5$l$F$$$J$$$h$&$K8+$($^$9!#(B
&gt;&gt; &nbsp; &nbsp; $B$3$l$O<B:]%"%W%j$r:n@.$9$k:]$KKh2s(BFileUploadModule$B$r%*!<%P!<%i%$%I$7@_Dj$7$?J}$,$h$$$H$$$&;v$G$7$g$&$+!)(B
&gt;&gt;
&gt;&gt; $B$"$H!"<ALd$G$O$J$$$N$G$9$,(BCubbyModule#privideFlashMap()$B$O(BprovideFlashMap()$B$N4V0c$$$G$O$J$$$G$7$g$&$+!)(B
&gt;&gt;
&gt;&gt; $B0J>e!"$*<j?t$G$9$,$48!F$$h$m$7$/$*4j$$$$$?$7$^$9!#(B
&gt;&gt; _______________________________________________
&gt;&gt; cubby-user mailing list
&gt;&gt; <a href="mailto:cubby-user@ml.seasar.org">cubby-user@ml.seasar.org</a>
&gt;&gt; <a href="https://ml.seasar.org/mailman/listinfo/cubby-user">https://ml.seasar.org/mailman/listinfo/cubby-user</a>
&gt;
&gt;
&gt; --
&gt; BABA,Yasuyuki
&gt; <a href="mailto:yasuyuki.baba@gmail.com">yasuyuki.baba@gmail.com</a>
&gt; _______________________________________________
&gt; cubby-user mailing list
&gt; <a href="mailto:cubby-user@ml.seasar.org">cubby-user@ml.seasar.org</a>
&gt; <a href="https://ml.seasar.org/mailman/listinfo/cubby-user">https://ml.seasar.org/mailman/listinfo/cubby-user</a>
&gt;

<br>[]