Java Reference
In-Depth Information
Results of the Tutorial
Let's check our results:
1.
In the TutorialsWeb project, a new package in WebContent named c11.
2.
In c11, the following nine new files:
ConfirmEmpDel.jsp
EndEEIF.html
EnterEmpInfoForm.html
InsEmpInfo.jsp
StartIEIF.htm
EmpDel.jsp
EndIEIF.html
EnterEmpInfoJSP.jsp
StartEEIF.html
3.
Inside of JavaResources/src, a new folder called c11 containing the following seven Java
files:
CrtEmpBean.java
DeleteEmp.java
Employee.java
TNTStateDDM.java
DBAccess.java
EmpExtractor.java
InsertEmp.java
4.
Modifications to DispEmpInfoJSP to display the tax and gross salary amounts and an
option to delete an employee record from the database
5.
The employee Web-based application can now insert, display, and delete employee
information in a database using custom tags.
Review Questions
1.
What is a tag handler?
2.
When defining a custom tag, what is the purpose of the Web Deployment Descriptor?
3.
When should a custom tag be created?
4.
What is an array?
5.
How is XML used to define a custom tag?
6.
What is the purpose of a tag library directive in a JSP?
 
Search WWH ::




Custom Search