Hi all,

I have been trying to use the following web.xml elements in GAE:

        <jsp-config>
                <jsp-property-group>
                        <url-pattern>*.jsp</url-pattern>
                        <el-ignored>false</el-ignored>
                        <include-prelude>/WEB-INF/taglibs.jspf</include-prelude>
                        
<deferred-syntax-allowed-as-literal>true</deferred-syntax-allowed-
as-literal>
                        
<trim-directive-whitespaces>true</trim-directive-whitespaces>
                </jsp-property-group>
        </jsp-config>

This instructs the JSP compiler to add some directives at the
beginning of all JSP pages:

* el-ignored: to be able to use ${...} at every page.
* include-prelude: to include a jsp fragment with tag libraries etc at
the beginning.
* deferred-syntax-allowed-as-literal: to ignore the use of #{...}
literals
* trim-directive-whitespaces: to trim the line feeds at the beginning
of each page

The thing is, this is only supported for web.xml 2.5 which I know is
supported by jetty but not by AppEngine. Anyway, I would expect it to
throw an exception instead of ignoring my XML start:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
        metadata-complete="true" version="2.5">

The thing is, I don't know if:

* It is planned to be supported by AppEngine at some point.
* I am missing the correct way of configuring this in GAE.
* Just nobody looked at it before.

Comments would be welcome. Best regards,

Nacho.

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=.


Reply via email to