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

Static Content Loading in Struts 2

2008-08-18 Thread Ramez Hassan
Hello Folks, I am trying to implement a theme enabled web application and the architecture is developed to upload themes to the application using jar or zip files with a certain directory structure. The problem is I don't know how to enable such a feature or how to extend struts control classes