<%@ page contentType="text/html; charset=euc-jp" %> <%@ taglib uri="jruntags" prefix="jrun" %> <%-- <jrun:transaction> <jrun:sql datasrc="taglib"> update Table1 set amount=amount+10 where id=2 </jrun:sql> <jrun:sql datasrc="taglib2"> update Table1 set amount=amount-10 where id=2 </jrun:sql> <jrun:sendmsg msgsrc="QueueConnectionFactory" queue="queue1"> <jrun:msgparam name="foo1" value="bar1"/> <jrun:msgparam name="foo2" value="bar2"/> This is a test. </jrun:sendmsg> </jrun:transaction> --%> <%@ include file="html/header.html" %> <table width="100%"> <tr> <td><b>TRANSACTION タグ: 2 つのデータベース更新と 1 つの jms メッセージが含まれるトランザクション</b> </td> </tr> <%-- <tr><td> taglib: update Table1 set amount=amount+10 where id=2<br> taglib2: update Table1 set amount=amount-10 where id=2<br> queue1 に JMS メッセージを送信 完了。<sql> および <getmsg> を使用して、結果を表示してください。 </td></tr> --%> <tr> <td align="left"> <br> <font size="2"><a href="transaction.jsp">戻る</a></font> </td> </tr> </table> <%@ include file="html/footer.html" %>