On Aug 5, 2005, at 7:53 AM, Dirk Reiss wrote:

Hello everyone,

I've got a JSP page containing the expression ${1 < 2} which is read by a JSP-Reader. This does not get evaluated, it's just printed in the resulting
HTML-page.

JSP 2.0 is ignored by default in web applications with pre 2.4 deployment descriptors. Replace the DTD and <web-app> start tag in web.xml with this:

<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
  http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
  version="2.4">

You might have to make other adjustments to Cocoon's web.xml so that
it validates with the new schema.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to