-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Run,
On 12/9/2009 10:57 AM, pprun wrote: > What about those links in the static HTML? How does it access to context > path? When it comes to static HTML/CSS, you have at least 4 options: 1) Hard-code the path and remember to change them if you re-deploy (good luck) 2) Write a filter to re-write URLs in static files as they are being delivered (lots of work, slower HTTP responses) 3) Use a deployment strategy that re-writes the URLs during deployment (my preference) 4) Don't use static HTML/CSS - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksf47YACgkQ9CaO5/Lv0PA5MwCfX9OvWuxH+G6GlRx0xdQkjbTQ sKUAnifx+yOiQ21s6PzA+7sIG9GIWXxT =dzSM -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org