This is just a heads-up for other people that are waiting for this.
With the new release you can include this in your web.xml (the
starting tag is important):
<?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
"
version="2.5"
>
<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>
Which means that:
* You can remove from all your JSP pages <%...@page isELIgnored="false"
%>
* You can also remove (in this example) this inclusion of a file where
you define all your JSP libraries:
<%@ include file="/WEB-INF/taglibs.jspf" %>
* You can use '#{}' freely in your JSP page without seeing the error
"#{..} is not allowed in template text" (this is a new error
introduced in this release)
* As a nice extra, whitespaces at the beginning will be trimmed.
As far as I can tell, this had never worked before 1.4.0. Thanks guys.
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.