You are absolutely right, I decided to follow your perference. Thank you very much for the suggestions.
Regards, run Christopher Schultz-2 wrote: > > -----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 > > > -- View this message in context: http://old.nabble.com/Question-on-META-INF-context.xml-tp26700904p26715825.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org