Fix all Sakai JSPs so we do not need to use -Dorg.apache.jasper.compiler.Parser.STRICT_WHITESPACE=false

Description

Add the following JAVA_OPTS setting to the release notes for 2.9:

-Dorg.apache.jasper.compiler.Parser.STRICT_WHITESPACE=false

At least one JSF tool (forums) requires it when running it in Tomcat 7.

http://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html

Matt Jones: "There were one more strict changed to be true between 5.5 & 7.0 org.apache.jasper.compiler.Parser.STRICT_WHITESPACE
(If false the requirements for whitespace before an attribute name will be relaxed so that the lack of whitespace will not cause an error. Default is the spec value which is true)

Perhaps because the code isn't <%@ include or using <jsp:include there it's causing an error now?"

Matt's suspicion was confirmed by David Horwitz.

Environment

None

Test Plan

None
100% Done
Loading...

Activity

Sam Ottenhoff March 23, 2012 at 2:31 PM

Confirmed: we no longer use the strict whitespace setting on any qa server

Sam Ottenhoff November 7, 2011 at 5:40 AM

There should be no need to use the STRICT_WHITESPACE workaround starting with 2.9.0A02. Please re-open this ticket if any problems are found with whitespace errors in JSPS.

Thanks Aaron.

Aaron Zeckoski November 4, 2011 at 7:31 PM

I am not seeing anymore errors at the moment so I am going to say yes, I think we can close it

Sam Ottenhoff November 4, 2011 at 8:14 AM

Aaron, do you think we're ready to close this?

Sam Ottenhoff November 3, 2011 at 12:38 PM

Fixed the attribute space name in MSGCNTR in

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created October 5, 2011 at 12:52 PM
Updated November 26, 2012 at 7:29 AM
Resolved March 23, 2012 at 2:31 PM