Hi,

I have a very simple jsp page like this:

<%@ page language="java"
                 contentType="text/html; charset=UTF-8"
                 pageEncoding="UTF-8"%>

<html>
        <body>${pageContext.request.contextPath}</body>
</html>

${pageContext.request.contextPath} is not resolving.
I have the following maven dependencies:

                <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>jstl</artifactId>
                        <version>1.1.2</version>
                        <type>jar</type>
                        <scope>compile</scope>
                </dependency>

                <dependency>
                        <groupId>org.apache.tomcat</groupId>
                        <artifactId>jsp-api</artifactId>
                        <version>6.0.32</version>
                        <scope>provided</scope>
                </dependency>


                <dependency>
                        <groupId>taglibs</groupId>
                        <artifactId>standard</artifactId>
                        <version>1.1.2</version>
                        <type>jar</type>
                        <scope>compile</scope>
                </dependency>

Do I need anything else (Configuration, dependency, ...) in order to get it to 
resolve?

TIA,
- Ole

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to