The first step to create a web application is to create
a web project. The Java IDE that this document is based on is Eclipse
3.3. Using the Eclipse IDE, create a web project and add the required
JAR files to your project. Add an HTML page named
index.html
and
a Java servlet to your project.
The following list specifies the JAR files to include in your
web project:
For the location of these JAR files, see
Including LiveCycle Java library files
.
Note:
The J2EE.jar file defines data types used by
a Java servlet. You can obtain this JAR file from the J2EE application
server on which LiveCycle is deployed.
Create a web project
-
Start Eclipse and click
File
>
New
Project
.
-
In the
New Project
dialog box, select
Web
>
Dynamic Web Project
.
-
Type
InvokePreLoanProcess
for the name of
your project and then click
Finish
.
Add required JAR files to your project
-
From the Project
Explorer window, right-click the
InvokePreLoanProcess
project
and select
Properties
.
-
Click
Java build path
and then click the
Libraries
tab.
-
Click the
Add External JARs
button and browse to the
JAR files to include.
Add a Java servlet to your project
-
From the Project
Explorer window, right-click the
InvokePreLoanProcess
project
and select
New
>
Other
.
-
Expand the
Web
folder, select
Servlet
, and
then click
Next
.
-
In the Create Servlet dialog box, type
SubmitXML
for
the name of the servlet and then click
Finish
.
Add an HTML page to your project
-
From the Project
Explorer window, right-click the
InvokePreLoanProcess
project
and select
New
>
Other
.
-
Expand the
Web
folder, select
HTML
, and click
Next
.
-
In the New HTMLdialog box, type
index.html
for
the filename and then click
Finish
.
|
|
|