Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

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).

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