Java Reference
In-Depth Information
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
</head>
<body>
<%
out.println("Error in updating Database");
%>
</body>
</html>
Creating an application deployment
descriptor
We also need to create an
application.xml
in the
META-INF
directory for the
EAR
application. Create the
application.xml
in the
META-INF
directory of the
Model
project and when we build the project in the next section we shall create a
META-
INF
for the
EAR
file and copy the
application.xml
from the
META-INF
of the
Model
project to the
META-INF
of the
EAR
file. Select the
META-INF
directory node of
the
Model
project in the
Application
navigator and select
File|New
. In the
New
Gallery
window, select
General|Deployment Descriptors
in
Categories
and select
Java EE Deployment Descriptor
in
Items
. Click on
OK
.
Search WWH ::
Custom Search