How to do user uploaded decorators that reside outside of the webapp?
David Andersen <[email protected]> Tue, 12 Dec 2006 03:39:04 CST
| Newsgroups | gmane.comp.web.sitemesh.general |
|---|---|
| Message-ID | <5128878.1165916585048.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
I don't want to store my decorators under the webapp directory because then when I deploy a new WAR file they'll all get nuked. I think I need to make a custom FileDecoratorMapper. Then the mapper could say "I'm serving bobs website, because the url is www.bob.com, and this page needs the 'main' decorator so load the file \tomcat\data\bob\main.dec". Am I headed down the right track? --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=53133&messageID=106871#106871 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]