THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
To include static resources in your plugins add them under "/static" in your jar. And include them in your page using "/strutsstatic" as the path, like in the following example:
Code Block | ||||
---|---|---|---|---|
| ||||
Assuming /static/main.css is inside a plugin jar, to add it to the page: <@s.url value="/strutsstatic/main.css" var="css" /> <link rel="stylesheet" type="text/css" href="%{#css}" /> |
...