-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Johnny,
Johnny Kewl wrote: > So this plebian is asking... wot does override actually mean?? > > I do know that if one creates a servlet and say maps it as /*.... > that will effectively block the default servlet.... is that wot > override means? Yes, but you should map it to "/" to match the default servlet's mapping. > Or and this is wot I'm hoping.... does it mean one can "extend" it... > as in... Class MagicDefault extends Default Absolutely. The default servlet is org.apache.catalina.servlets.DefaultServlet (at least in my TC 5.5 install). > Anyway if it can be overriden in true class form without a recompile > of Tomcat.... it gets very interesting?... if so please tell me > how... thx Yeah, you don't need to recompile Tomcat. Just write your own servlet class to act as the default (you can subclass the above DefaultServlet if you want) and then map it appropriately. Note that depending on a particular version of TC for the DefaultServlet might lock you into an undesirable position. I don't think that the Tomcat folks see the DefaultServlet as part of any publicly-facing code, so they may make changes at any point. You should be careful about this. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGTi1K9CaO5/Lv0PARAihdAKCj0Z955qzpQ0RYzfIv6T+exapppACfXeX4 Yh7NRb1pRrMOcWGxt51Nguw= =izGB -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]