<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:$B%a%$%j%*(B
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
$B>.NS(B (koichik) $BMM(B<BR>
<BR>
$B$3$s$P$s$O!"KRG7Fb$G$9!#(B<BR>
$B$4JV?.$"$j$,$H$&$4$6$$$^$9!#(B<BR>
<BR>
$BL5CN$G$9$_$^$;$s$G$7$?!#(B<BR>
DB$B@\B3$+$i$d$jD>$7$F;n$7$F$_$?$$$H;W$$$^$9!#(B<BR>
<BR>
> $B!V(BSeasar 2 $BE0DlF~Lg(B SAStruts/S2JDBC $BBP1~(B $B!W(B<BR>
$B;29M=q$r$4>R2p$$$?$@$-$"$j$,$H$&$4$6$$$^$9!#(B<BR>
$B$?$@<B$r$$$&$H$3$NK\$O$9$G$K;}$C$F$*$j$^$9!#(B<BR>
$B$7$+$7FbMF$,;d$K$O>/$7M}2r$7$K$/$$$b$N$J$N$G!#!#!#(B<BR>
$B:#$O!V(B<SPAN id=btAsinTitle>Seasar2$B$K$h$k%9!<%Q!<%"%8%c%$%k$J(BWeb$B3+H/!W(B</SPAN><BR>
<SPAN>$B$r;29M$K$7$F$*$j$^$9!#(B</SPAN><BR>
<SPAN></SPAN> <BR>
<SPAN>$B:#8e$b$4<ALd$9$k$H;W$$$^$9$,!"(B</SPAN><BR>
<SPAN>$B$I$&$>$h$m$7$/$*4j$$$7$^$9!#(B</SPAN><BR>
<SPAN></SPAN> <BR>
<SPAN>$B0J>e$G$9!#(B</SPAN><BR>
<BR>
<DIV>
> Date: Sun, 11 Sep 2011 21:30:00 +0900<BR>> From: koichik@improvement.jp<BR>> To: seasar-user@ml.seasar.org<BR>> Subject: [Seasar-user:21001] Re: $B%A%'%C%/%\%C%/%9$K$D$$$F65$($F2<$5$$!#(B<BR>> <BR>> $B>.NS(B (koichik) $B$G$9!%(B<BR>> <BR>> $B%A%'%C%/%\%C%/%9$N>uBV$OLdBj$J$/<hF@$G$-$F$$$^$9$,!$(B<BR>> $B$=$l0J30$N$H$3$m$GLdBj$,$"$j$^$9$M!%(B<BR>> <BR>> $B$^$:$O(B doDelete() $B$G$9$,!$(B<BR>> <BR>> return "history";<BR>> <BR>> $B$N$h$&$KJ8;zNs$rJV$9$H!$$=$N2hLL$X%j%@%$%l%/%H$7$F$7$^$$!$(B<BR>> initialize()$B!A(Bprerender() $B$,<B9T$5$l$F$7$^$$$^$9!%(B<BR>> $B$=$N$?$a!$%A%'%C%/%\%C%/%9$OA4$F=i4|CM$K%j%;%C%H$5$l$^$9!%(B<BR>> $B%A%'%C%/%\%C%/%9$N>uBV$,<h$l$J$$$h$&$K8+$($?$N$O$=$N$;$$$G$7$g$&!%(B<BR>> <BR>> $B2hLLA+0\$7$J$$>l9g$O(B null $B$rJV$7$F$/$@$5$$!%(B<BR>> <BR>> http://teeda.seasar.org/ja/extension/concept/lifecycle.html#$B2hLLA+0\(B<BR>> <BR>> <BR>> $B$^$?!$(Bprerender() $B$d(B doDelete() $B$G(B<BR>> <BR>> try {<BR>> Class.forName("com.mysql.jdbc.Driver");<BR>> con = DriverManager.getConnection(<BR>> "jdbc:mysql://localhost:3306/user_db",<BR>> "takashi",<BR>> "0217");<BR>> <BR>> $B$N$h$&$K(B DB $B$X@\B3$7$F$O$$$1$^$;$s!%(B<BR>> Seasar2 $B$,Ds6!$7$F$$$k%3%M%/%7%g%s%W!<%k$r;H$C$F$/$@$5$$!%(B<BR>> $B$H$$$&$+!$$*$=$i$/(B jdbc.dicon $B$K%3%M%/%7%g%s%W!<%k$N@_Dj$,(B<BR>> $B$"$k$O$:$G$9!%(B<BR>> <BR>> http://s2container.seasar.org/2.4/ja/jdbc.html<BR>> <BR>> <BR>> $B$=$l$+$i!$(B<BR>> <BR>> PurchaseDao p = new PurchaseDao(con);<BR>> <BR>> $B$N$h$&$K(B Dao $B$r<+J,$G:n@.$9$k$N$b$$$1$^$;$s!%(B<BR>> Dao $B$b(B Seasar2 $B$G4IM}$5$l$F$$$l$P(B ($B$*$=$i$/$=$&$J$C$F$$$k$O$:(B)$B!$(B<BR>> Page $B%/%i%9$K(B<BR>> <BR>> public PurchaseDao purchaseDao;<BR>> <BR>> $B$rDj5A$9$k$@$1$G(B Dao $B$r;H$($k$h$&$K$J$k$O$:$G$9!%(B<BR>> $B%3%M%/%7%g%s$rEO$9I,MW$b$"$j$^$;$s!%(B<BR>> <BR>> $B$b$7(B jdbc.dicon $B$,$J$+$C$?$j!$(BDao $B$,(B Seasar2 $B$G4IM}$5$l$F(B<BR>> $B$$$J$$>l9g$J$I$O!$$=$3$+$i8+D>$7$?J}$,$$$$$G$7$g$&!%(B<BR>> $B$=$N>l9g$O(B Dolteng $B$r;H$C$F$R$J7A$H$J$k%"%W%j%1!<%7%g%s$r(B<BR>> $B:n@.$7$F;29M$K$7$F$/$@$5$$!%(B<BR>> <BR>> http://dolteng.sandbox.seasar.org/<BR>> <BR>> $B$^$?!$$h$jM}2r$r?<$a$k$K$O0J2<$N=q@R$,%*%9%9%a$G$9!%(B<BR>> # Teeda $B$N@bL@$O$"$j$^$;$s$,!%!%!%(B<BR>> <BR>> $B!V(BSeasar 2 $BE0DlF~Lg(B SAStruts/S2JDBC $BBP1~(B $B!W(B<BR>> <BR>> <BR>> <BR>> On Sat, 10 Sep 2011 00:13:40 +0900, $BKRG7Fb(B $BN4;K(B <m08034069419@hotmail.co.jp> wrote:<BR>> <BR>> > <BR>> > $B>.NSMM(B (koichik) <BR>> > <BR>> > $B$3$s$P$s$O!#=i$a$^$7$F!"KRG7Fb$H?=$7$^$9!#(B<BR>> > $BAa!9$N$4O"Mm$"$j$,$H$&$4$6$$$^$9!#(B<BR>> > <BR>> > $B$9$_$^$;$s!#0J2<$N#U#R#L$O0JA0$K2?EY$+GR8+$7$?$N$G$9$,!"(B<BR>> > $BJ,$+$j$^$;$s$G$7$?!#!#!#(B<BR>> > <BR>> > Page $B%/%i%9$r0J2<$N$h$&$K@_Dj$7$F$*$j$^$9!#(B<BR>> > $B"(G0$N$?$a;29M;qNA$rE:IUCW$7$^$9!#(B<BR>> > $B!&(BHTML = history.html<BR>> > $B!&(BPage$B%/%i%9(B = HistoryPage.java<BR>> > $B!&(BDto = Purchase.java<BR>> > <BR>> > $B0J>e$G$9!#(B<BR>> > $B$h$m$7$/$*4j$$CW$7$^$9!#(B<BR>> > <BR>> > ----------------------------------------------------Page$B%/%i%9(B---------------------------------------------------------------<BR>> > <BR>> > public List<Purchase> purchaseItems;<BR>> > public boolean checked;<BR>> > <BR>> > ----------------------------------------------------------------------------------------------------------------------------------<BR>> > <BR>> > <BR>> > > Date: Fri, 9 Sep 2011 02:30:00 +0900<BR>> > > From: koichik@improvement.jp<BR>> > > To: seasar-user@ml.seasar.org<BR>> > > Subject: [Seasar-user:20993] Re: $B%A%'%C%/%\%C%/%9$K$D$$$F65$($F2<$5$$!#(B<BR>> > > <BR>> > > $B>.NS(B (koichik) $B$G$9!%(B<BR>> > > <BR>> > > > <input type="checkbox" id="checked" /> $B!!"+!!LdBj$N2U=j!*!)(B<BR>> > > <BR>> > > $B$KBP1~$9$k%W%m%Q%F%#$O!$0J2<$NNc$K$"$k$h$&$K(B<BR>> > > <BR>> > > http://teeda.seasar.org/ja/extension/reverse/input.html#$BC10l9`L\$N%A%'%C%/%\%C%/%9$rJ#?t;H$&$K$O(B<BR>> > > <BR>> > > public List<OptionDto> optionItems;<BR>> > > public boolean checked; //Teeda$B$,@_Dj(B<BR>> > > <BR>> > > Dto $B$@$1$G$O$J$/(B Page $B%/%i%9$K$b(B checked $B%W%m%Q%F%#$,I,MW$G$9$,!$(B<BR>> > > $B:n@.$7$^$7$?$+!)(B<BR>> > > $B2r7h$7$J$$>l9g$O(B HTML $B$@$1$G$O$J$/(B Page $B%/%i%9$b8+$;$F$/$@$5$$!%(B<BR>> > > <BR>> > > <BR>> > > On Fri, 9 Sep 2011 02:16:59 +0900, $BKRG7Fb(B $BN4;K(B <m08034069419@hotmail.co.jp> wrote:<BR>> > > <BR>> > > > <BR>> > > > $B=i$a$^$7$F!"(BSeasar$B$N%a!<%j%9$K:#F~$C$?$b$N$G$9!#(B<BR>> > > > $B<ALd$,$"$k$N$GEj9F$5$;$F$$$?$@$-$^$9!#(B <BR>> > > > <BR>> > > > Seasar2$B$rMxMQ$7$F$$$F!"J,$+$i$J$$$3$H$,$"$j$^$9!#(B<BR>> > > > <BR>> > > > $B$"$k>pJs$r0lMwI=<($9$k2hLL$G!"3F9T$KF~NO9`L\$H$7$F%A%'%C%/%\%C%/%9$rI=<($7$F$*$j$^$9!#(B<BR>> > > > $B$=$7$FJ,$+$i$J$$$3$H$,%A%'%C%/%\%C%/%9$K%A%'%C%/$r$7$F(Bsubmit$B$7$F$bCM$r$&$^$/EO$9$3$H$,$G$-$J$$$3$H$G$9!#(B<BR>> > > > $BK\Mh$J$i%A%'%C%/$7$?$b$N$,(Btrue$B$H$7$FEO$k$O$:$J$N$G$9$,!"A4$F(Bfalse$B$H$7$FEO$5$l$F$7$^$$$^$9!#(B<BR>> > > > $B$I$3$N=q$-J}$,LdBj$J$N$+J,$+$i$:<ALd$7$^$7$?!#(B<BR>> > > > <BR>> > > > $B%=!<%9$O0J2<$N$h$&$K$J$C$F$*$j$^$9!#(B<BR>> > > > $B4pK\E*$JFbMF$@$H;W$$$^$9$,!"$I$J$?$+$465<x$*4j$$CW$7$^$9!#(B<BR>> > > > $B<+J,$J$j$KD4$Y$?$N$G$9$,!"$&$^$/$$$-$^$;$s!#(B<BR>> > > > <BR>> > > > $B"(%=!<%90lIt$rH4?h(B<BR>> > > > ----------------------------------------------------------------------------------------------------------------------------------<BR>> > > > <tbody id="purchaseItems"><BR>> > > > <tr align="center"><BR>> > > > <td><BR>> > > > <span id="year"></span>/<span id="month"></span>/<span id="day"></span><BR>> > > > </td><BR>> > > > <td><BR>> > > > <span id="name"></span><BR>> > > > </td><BR>> > > > <td><BR>> > > > <span id="isCharge">*</span><span id="status"></span><BR>> > > > </td><BR>> > > > <td align="left" width="400"><BR>> > > > <a id="goChange"<BR>> > > > href="change.html?id=1&amp;year=1&amp;month=1&amp;day=1&amp;name=aaa&amp;description=aaa&amp;amount=1&amp;status=aaa"><BR>> > > > <p><span id="description"></span></p></a><BR>> > > > </td><BR>> > > > <td align="right"><BR>> > > > <p>$B!o(B<span id="amount"></span></p><BR>> > > > </td><BR>> > > > <td><BR>> > > > <a id="goDelete"<BR>> > > > href="delete.html?id=1&amp;year=1&amp;month=1&amp;day=1&amp;name=aaa&amp;description=aaa&amp;amount=1"><BR>> > > > <p><img src="../../img/batu2.png" alt="$B:o=|(B" /></p></a><BR>> > > > </td><BR>> > > > <td><BR>> > > > <input type="checkbox" id="checked" /> $B!!"+!!LdBj$N2U=j!*!)(B<BR>> > > > </td><BR>> > > > </tr><BR>> > > > </tbody><BR>> > > > <BR>> > > > $B!&(B<BR>> > > > $B!&(B<BR>> > > > $B!&(B<BR>> > > > <BR>> > > > <input type="submit" value="submit" id="doDelete" /><BR>> > > > ----------------------------------------------------------------------------------------------------------------------------------<BR>> > > > <BR>> > > > $B0J>e$G$9!#(B<BR>> > > > $B$h$m$7$/$*4j$$CW$7$^$9!#(B<BR>> > > > <BR>> > > <BR>> > > <BR>> > > -- <BR>> > > {<BR>> > > name: "Koichi Kobayashi",<BR>> > > mail: "koichik@improvement.jp",<BR>> > > blog: "http://d.hatena.ne.jp/koichik/",<BR>> > > twitter: "@koichik"<BR>> > > }<BR>> > > <BR>> > > _______________________________________________<BR>> > > Seasar-user mailing list<BR>> > > Seasar-user@ml.seasar.org<BR>> > > https://ml.seasar.org/mailman/listinfo/seasar-user<BR>> > <BR>> <BR>> <BR>> -- <BR>> {<BR>> name: "Koichi Kobayashi",<BR>> mail: "koichik@improvement.jp",<BR>> blog: "http://d.hatena.ne.jp/koichik/",<BR>> twitter: "@koichik"<BR>> }<BR>> <BR>> _______________________________________________<BR>> Seasar-user mailing list<BR>> Seasar-user@ml.seasar.org<BR>> https://ml.seasar.org/mailman/listinfo/seasar-user<BR></DIV>                                            </div></body>
</html>