Ronald Wildenberg <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I've been attempting this morning to get MMBase 1.7rc2 working as
> a Servlet2.4/JSP2.0 compliant webapp. To accomplish this, I had to
> turn of the JSP2.0 Expression Language for quite some JSP's, due
> to the fact that both MMBase and the EL use the ${...} syntax.
> 
> Unfortunately, due to a Tomcat 'bug' (
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27704), it is
> impossible to do this using the jsp-property-group element in
> web.xml. This means that MMBase will not run as a Servlet2.4/JSP2.0
> compliant webapp in Tomcat. There is of course the possibility
> of turning of the EL in all MMBase pages that use the ${...}
> syntax but this 1) ties MMBase to a certain Servlet/JSP spec and
> 2) is a lot of work.
> 
> This is not really an MMBase problem, but I thought it was worth
> mentioning it.


Sigh. 

Happily, for most mmbase cases, it will also work withouth the {}.  So
perhaps it would be worth it to change as many as pages from the distro for
that (because my guess is that isELIgnored on the page itself will cause
terrible errors if not JSP2 is supported).

And perhaps we should provide an alternative for {} then. perhaps (), [] or
|| or so.

It would have seemed useful if EL evaluation could be switch off per taglib
of per tag, e.g. in the TLD, but that seems impossible.  Probably its a
kind of preprocessing which must be applied to a complete page, or not at
all.

 Michiel


-- 
Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
 [] ()

Reply via email to