You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using org.apache.jasper.jspC from glassfish.jar version: 2.2.2_v201108011116
When defining custom functions in *.tld. The white space handling by JspC compiler is not intuitive. See the example below.
java.lang.String
getName()
There must be a white space character immediately after return type ('java.lang.String' in this case), even if the rest of the signature definition is on a separate line. a new line character or a tab following the return type will cause an error.
What's more when this happens, the JspC simply output an error of invalid signature without mentioning which line or which function's signature is invalid. This make debugging very difficult as white spaces, tabs, new line characters are not often invisible.
Environment
Linux, Ubuntu-10, Jetty application server.
The text was updated successfully, but these errors were encountered:
I am using org.apache.jasper.jspC from glassfish.jar version: 2.2.2_v201108011116
When defining custom functions in *.tld. The white space handling by JspC compiler is not intuitive. See the example below.
java.lang.String
getName()
There must be a white space character immediately after return type ('java.lang.String' in this case), even if the rest of the signature definition is on a separate line. a new line character or a tab following the return type will cause an error.
What's more when this happens, the JspC simply output an error of invalid signature without mentioning which line or which function's signature is invalid. This make debugging very difficult as white spaces, tabs, new line characters are not often invisible.
Environment
Linux, Ubuntu-10, Jetty application server.
The text was updated successfully, but these errors were encountered: