This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Well, the simple answer is: Don't do that! In the same way you must guard against creating infinite loops in code -- especially when using recursion -- if you have such a situation where it is possible for your servlets to get stuck in this way (I'd also argue that such a situation merits sitting back and pondering whether your design needs some rethinking), you need to place safeguards into the code to make sure that you never get into an inifinite-forward loop. hth, bear