-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeffrey,

On 9/13/2011 1:21 PM, Jeffrey Janner wrote:
> Our app currently is not distributable as a war file due to some 
> decisions made long ago (properties files that need to be modified 
> stored in WEB-INF, etc.).
> 
> [snip]
> 
> However, there is one sticking point that is a problem. We allow
> the end user to replace a JPG file with one of their own, so that
> it gets displayed on certain pages instead of the default one we
> provide (a logo file).  It currently resides in a sub-directory of
> the exploded war file.  Rather than have the customer replace the
> file after every upgrade, I thought it would be nice to somehow
> define a location where the file exists, and the app could go get
> it when requested (sort of like a sym-link).

How about setting the URL of the logo in one of those properties files
you mentioned above, and then using that URL in your pages?

Then the client can even host the image anywhere they want.

Presumably, you have some kind of protection against clobbering client
preferences: just use that same protection to avoid clobbering their
logo URL.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5zuW0ACgkQ9CaO5/Lv0PApDgCfU08u+dV5Onk6lYS/rb7jeOWF
GSgAniaeYNwk/Tem1KrBYCVEc4D9Wz2o
=Eqnh
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to