Форма для ввода...
Листинг 5.31. Форма для ввода данных о доставке (ShowOrder.jsp)
<form action="UpdateFulfillment.jsp">
<input type="hidden" name="dir" value="<%=dir%>
" />
<input type="hidden" name="file" value="<%=file%>
" />
<input type="hidden" name="email"
value="<%=email.getFirstChild().getNodeValue()%>
" />
<input type="hidden" name="id" value="<%=id%>
" />
<input type="hidden" name="auth_code"
value="<%=auth_code.getFirstChild().getNodeValue()%>
" />
<input type="hidden" name="price" value="<%=price%>
" />
<h2>
Fulfillment Info</h2>
Shipper:<%=shipper.getFirstChild().getNodeValue()%>
<br />
Class:<%=clas.getFirstChild().getNodeValue()%>
<br />
Cost:$<%=cost.getFirstChild().getNodeValue()%>
<br />
Tracking #:
<%if( trackingString.equals( "NO_TRACKING_NUMBER" ) ) { %>
<input name="tracking" value="<%=trackingString%>
" />
Date Sent:<input name="date_sent" value="<%=dateSentString%>
" />
<input type="submit" value="Submit New Fulfillment Data" />
<%} else {%>
<%=trackingString%>
<br />
Date Sent:<%=dateSentString%>
<%}%>
</form>
<br />
<a href="OrderDateSelector.jsp">
Back to date selection</a>
</body>
</html>
Содержание раздела