The New Project with Existing Ant Script wizard imports an existing Java, web,
or EJB module into a
.
In the Web Sources page, you have to set the following properties:
Web Pages Folder. Specifies the location of the existing Web pages.
Context Path. Specifies a way to distinguish resources in one web
application from resources in others that are deployed on the same server instance.
The context of an application determines the URL namespace of the contents of the web
application. When a web application's context property value is set, you access the web application
at http://hostname:port/context/servlet_or_jsp. For example, with the property value
set to /HelloWeb, you access the web application at http://hostname:port/HelloWeb/index.jsp.
J2EE Specification Level. Specifies the J2EE specification level that your
Ant script compiles and runs against.