Tomcat versions prior to 5.5.27 doesn't follow the quote requirements of Jsp Spec. Tomcat version 5.5.27 onwards quotes are checked strictly. Nested quotes has to be escaped.
what does MyPermissions.PERMISSION1 return?
<permissions:hasAnyNetworkSettings networkSettings="<%=MyPermissions.PERMISSION1%>">
You may use single quotes as shown below