RE: Static Content Loading in Struts 2

2008-08-18 Thread Ramez Hassan
--Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2008 4:11 PM To: Struts Users Mailing List Subject: Re: Static Content Loading in Struts 2 If you are building from trunk, "To include static resources in your plugins add them under "/static"

Re: Static Content Loading in Struts 2

2008-08-18 Thread Musachy Barroso
If you are building from trunk, "To include static resources in your plugins add them under "/static" in your jar. And include them in your page using "/static" as the path, like in the following example: Assuming /static/main.css is inside a plugin jar, to add it to the page: <@s.url value="/st