Created
January 10, 2011 18:09
-
-
Save leonardinius/773162 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<web-resource key="xxx-yyy-js" name="XYZ Dialog JS resources"> | |
<resource type="download" name="xxx-yyy.js" location="xxx-yyy.js"> | |
<property key="content-type" value="text/javascript"/> | |
<property key="charset" value="utf-8"/> | |
</resource> | |
</web-resource> | |
<servlet-filter key="xxx-yyy-resources-servlet-filter" name="XYZ attach javascript resources" | |
class="xxx.yyy.filters.IncludeResourcesFilter" | |
location="before-dispatch" weight="200"> | |
<url-pattern>/browse/*</url-pattern> | |
<dispatcher>REQUEST</dispatcher> | |
<!--dispatcher>FORWARD</dispatcher--> | |
<init-param> | |
<param-name>resources</param-name> | |
<param-value>${project.groupId}.${project.artifactId}:xxx-yyy-js</param-value> | |
</init-param> | |
</servlet-filter> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment