invoice2.jsp
<%@ page contentType="text/html; charset=euc-jp" %>
<%@ page errorPage="errors.jsp" %>
<%@ page import="allaire.taglib.*" %>
<%@ taglib uri="jruntags" prefix="jrun" %>
<jsp:useBean
id="invoiceBean" scope="application"
class="allaire.samples.invoice.InvoiceBean">
</jsp:useBean>
<html>
<head>
<title>PSG 請求書ジェネレータ - バージョン 2: Java Bean および JRun カスタム タグ ライブラリの使用</title>
</head>
<body>
<form name="invoiceForm" method="POST">
<% boolean condition =
"GENERATE".equals( request.getParameter( "operation" ) ); %>
<% if ( condition ) { %>
<%@ include file="invoice2-generate.jsp" %>
<% } else { %>
<%@ include file="invoice2-setup.jsp" %>
<% } %>
<input type="hidden" name="operation" value="SETUP">
</form>
</body>
</html>