JSP expression do not evaluate


Added by Greg Wilkins, last edited by Dexter Ang on Feb 19, 2008  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery

JSP Expressions do not evaluate!

Detailed Description

JSPs that otherwise appear to work do not expand JSP expressions and instead have include the actual expression in the generated HTML.

Remedy

This is caused when using JSP2.0 against a 2.5 web.xml. Jasper 2.0 silently fails to evaluate the expression - but most other JSP functions appear to work.

The solution is to either use a 2.4 web.xml format or upgrade to use jasper 2.1 (simply running java5 should be sufficient for jetty to automatically select jasper 2.1 if the jars are present).