quite straightforward: <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.1.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>taglibs</groupId> <artifactId>standard</artifactId> <version>1.1.2</version> <scope>compile</scope> </dependency>
be sure to declare your web application as of servlet specification 2.4 as follows: <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4"> last thing to mention, don't use jsp 1.0 uri's in taglib declarations in jsp's. for jstl 1.1 use: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> please notice the bold marked jsp there regards, Ahmet On 7/25/06, AK <[EMAIL PROTECTED]> wrote:
Hi guys, what is the correct jstl dependency, how to add to project both jstl and standart jars? -- .:Regards, AK:. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]