Skip to content

Instantly share code, notes, and snippets.

@trieloff
Created April 11, 2017 10:28
Show Gist options
  • Save trieloff/1ec4dacc5dc8db541c2ec1ea5aaa535a to your computer and use it in GitHub Desktop.
Save trieloff/1ec4dacc5dc8db541c2ec1ea5aaa535a to your computer and use it in GitHub Desktop.
Getting a content policy's property in JSP
<%@include file="/libs/foundation/global.jsp"%><%
String[] whitelist = currentStyle.get("allowedSites", new String[0]);
%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment