# Creating a JSF Project From an Existing Web Project

Using OEPE, you can create a new JSF project from an existing Web project if the existing project meets the following criteria:

- The source project is a non-Eclipse project and does not contain any Eclipse-specific files or folders.

- The source project's WebContent folder is not the project root.

- Somewhere in its directory hierarchy the source project contains a directory with a subdirectory called `WEB-INF`, which in turn contains a file called `web.xml`.

To create your project:

1. Right-click the Project Explorer and select New > Project from the drop-down menu. This opens the New Project dialog.

2. Select Web > Dynamic Web Project from Existing Source from the list, as Figure 1 shows, and then click Next. This opens the New Web Project dialog.

3. On the New Web Project > Project Location dialog that Figure 2 shows, specify your existing project's location, provide a name for your new project, select the compiler compliance level, select Oracle WebLogic Server 11gR1 (10.3.2) or later as your target runtime, and then click Next to continue.

4. On the next New Web Project > Java Settings screen that Figure 3 shows, either accept the default Java settings for your project or customize them, and then click Finish.

Upon completion, the new project from the existing source is created and is configured with the following facets:

- JSF 1.2

- JSTL 1.2

- jst.web 2.5 (depends on the version set in `web.xml`)

- jst.java 5.0 (depends on the compiler compliance level selected)

- wls.web 10.3 (depends on the server selected)