Электронный магазин на Java и XML

         

JSP-страница Declined (Declined.jsp)



Листинг 5.27. JSP-страница Declined (Declined.jsp)

<%@ page import="com.XmlEcomBook.Chap05.*" %>
<html>
<head>
<title>
Credit Card Declined</title>
</head>
<body>
<jsp:useBean id="order" scope="session" class="Order" />
Your credit card was declined.<br />
The reason given was: <% Authorization auth = order.getAuthorization();
if( auth != null ) { out.println( auth.getReason() );
} %>
</body>
</html>



Содержание раздела