Hi All,
i have updated the application Jboss EAP6.4.x to EAP7 and Wildfly10 when i access the application "include" its not working below the error can you please help. Thanks !!
jsp.error.attribute.nowhitespace
code
<%@ include file="edit_include.inc" %>
error
JBWEB004251: An error occurred at line: 108 column: 5) JBWEB004138: Unable to include edit_include.inc
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:45)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:276)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:149)
Caused by: org.apache.jasper.JasperException: /datacomp/edit_include.inc (JBWEB004251: An error occurred at line: 16 column: 68) jsp.error.attribute.nowhitespace
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:45)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:276)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:91)
at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:169)
at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:158)
at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1259)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1481)
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1680)
Mahesh
how does your edit_include.inc look like?
looks like you have some extra whitespaces at attributes declaration.
you can set system property
org.apache.jasper.compiler.Parser.STRICT_WHITESPACE=false
to relax this requirement.