Hi you are right. i configured web.xml to call a servelet or a perl cgi script to send email whenever 404 is encountered.
the problem is that i always get three emails for one error any idea? --- Chong Yu Meng <[EMAIL PROTECTED]> wrote: > Hi Cheng, > > How are you testing this? Do you have a servlet that > sends emails > whenever you get a 404 ? Or when you get a 404, > Tomcat directs the > request to a JSP or servlet that sends an email ? > I'm pretty sure Tomcat > does not have a built-in facility that sends email. > > Regards. > > > zhicheng wang wrote: > > >Hi > >if i config tomcat (both 4 AND 5) to send email for > >error code 404, it always send THREE emails. this > is > >true regardless if i use a servlet of perl cgi > > > >any ideas? please let me know > > > >if i call the servlet or cgi directly, things are > >fine. > > > >thanks > >cheng > > > >===== > >Best wishes > >Z C Wang > > > > > > > > > > -- > "There is nothing so absurd but some philosopher has > said it." > -- Marcus Tullius Cicero > +----------------------------------------------------------------+ > | Pascal Chong > | > | email: [EMAIL PROTECTED] > | > | > | > | Please visit my site at : http://cymulacrum.net > | > | If you're using my documentation, please read the > Terms and | > | and Conditions at http://cymulacrum.net/terms.html > | > +----------------------------------------------------------------+ > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > ===== Best wishes Z C Wang ___________________________________________________________ WIN FREE WORLDWIDE FLIGHTS - nominate a cafe in the Yahoo! Mail Internet Cafe Awards www.yahoo.co.uk/internetcafes --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
