You could use SiteMesh from within a separate application to decorate
the application.

http://raibledesigns.com/page/rd?entry=use_sitemesh_to_decorate_multiple

Either that, or change to using a Velocity decorator that you could
load from a database table.

You could also create some sort of "theme" archive that can be
uploaded to your database in binary form.  When the app starts up,
extract the various themes to the file system.

Just some ideas...

Matt

On 12/2/06, Josh <[EMAIL PROTECTED]> wrote:
All,

I am developing an application that can be used by multiple companies.
References to theme artifacts (style sheets, images etc) are stored in the
database and are configurable/uploadable by the end users.

Currently, I deploy the application as an exploded war file and the custom
theme artifacts are uploaded into the same directory structure by the end
users.  It has become a real pain to push new versions of the code because
these artifacts are not source controlled and are not part of the build.

My hosting provider does not support having an apache proxy to tomcat.  Any
ideas on how to better manage these files?  Here are some of my initial
ideas:

1. Write the files to another exploded war file on the same tomcat instance.
2. Write a servlet that will pull the files from someplace else on the file
system.

Any other ideas?

Regards,

Joshua


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to