HTML and CSS Reference
In-Depth Information
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
As shown in the listing, the following dependencies are needed for compilation ONLY and will not be included
in the lib folder of the web application because these dependencies are already shipped with the GlassFish 3.1.2
application server:
Servlet API version 2.5.
JSP API version 2.0.
JavaEE Web API version 6.
JSF API version 2.1.
Listing 1-10 shows the required dependencies of the firstApplication on Tomcat 7.
Listing 1-10. Tomcat 7 Configuration
<dependencies>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.faces</artifactId>
<version>2.1.6</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
Search WWH ::




Custom Search