Show chequeInfo.jsp syntax highlighted
<html>
<head>
<title>Cheque cashier</title>
</head>
<body>
<%
String chequeValue = (String) request.getAttribute("chequeValue");
String chequeCurrency = (String) request.getAttribute("chequeCurrency");
String chequeValidity = (String) request.getAttribute("chequeValidity");
if (chequeValidity.equals("true")) {
%>
The cheque value is <b><%= chequeValue %> <%= chequeCurrency %></b> (<%= chequeValue %> min stream).<br/><br/>
<form method="post" action="https://pchip27.hip.fi/gridsp/sp/GridChequeConsumer">
<input type="submit" value="Cash the cheque and start the stream"/>
</form>
<% } else { %>
The cheque is not valid!
<% } %>
</body>
</html>
See more files for this project here