GWT 1.6 Jetty Server and Expression Language

83 views
Skip to first unread message

Mr. Taylor

unread,
Apr 20, 2009, 10:34:00 AM4/20/09
to Google Web Toolkit
I am trying to use expression language with Jetty and would like to
know if Jetty is able to parse a page with expression language. Should
I go back to using tomcat? I have the required jars inside the war/
web-inf/lib folder.

i.e. <c:out value="${relativeUrl}/js/gwt.nocache.js"/>

Thanks,
LT

Chris Kentfield

unread,
May 25, 2009, 10:36:33 AM5/25/09
to Google Web Toolkit
I just ran in to this problem myself and I found this post on Stack
Overflow: http://stackoverflow.com/questions/504071/el-in-a-jsp-stopped-evaluating

The solution is to replace these lines in the web.xml file

<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>

with

<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/web-
app_2_4.xsd"
version="2.4">
Reply all
Reply to author
Forward
0 new messages