Java Reference
In-Depth Information
Results of the Review Exercise
After the exercise, we have the following:
1.
In the ReviewExWeb project, a new package in WebContent named c11.
2.
In WebContent/c11, the following new files:
ConfirmDel.html
ConfirmIns.jsp
DisplayShip.jsp
EnterShipInfoJSP.jsp
ConfirmDel.jsp
DelShip.jsp
DispShip.jsp
EnterShipNum.html
3.
Inside of Java Resources/src, a new folder called c11 containing the following new Java files:
CrtShipBean.java
DeleteShip.java
DBAccess.java
InsertShip.java
Shipment.java
4.
In WEB-INF, a new folder called tls and within tls, a file called TNT.tld that contains XML
to define three new custom tags called crtShipBean, insShip, and delShip.
5.
The shipment Web-based application can now insert, display, and delete shipment
information in a database using the custom tags.
Check that the Exercise Was Done Correctly
Finally, we check that everything went as planned:
1.
Save all files with changes.
2.
Run c11/EnterShipInfoJSP on the server.
3.
On the EnterShipInfoJSP page, insert the following shipment information into the
database:
Employee number: 333
Shipment number: 8888
Date: August 8 th, , 2012
Time: 8:08 pm
Supplier name: Target
 
Search WWH ::




Custom Search