On 11/03/2012 01:05, Ole Ersoy wrote:
> 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.

So, is it rendering it as text or is it throwing an exception?


> 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?

What is your jsp-config in web.xml?


p

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


-- 

[key:62590808]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to