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

Julien,

On 12/11/2010 10:50 AM, Julien Martin wrote:
> Thanks all for your replies and sorry for the upper case.
> I am already parsing the domain name in my app and I think I will stick to
> that.

I'm a bit late to the thread, but here's a suggestion: use a Filter.

With a Filter, you can control the logic for determining the
configuration in a single place (the Filter code) and then place an
object into the request scope that contains whatever configuration your
webapp uses -- like paths to resources like images, css files, etc. and
strings like the "name" of the website, etc.

This is an easy way to do private-labeling.

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

iEYEARECAAYFAk0Hl6kACgkQ9CaO5/Lv0PCPYACeN9tjpppMyy7QkeI3oTNXnrAJ
6bUAoI5f/pFHe04gO7r1yA0W81N1NO/4
=HDOl
-----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