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.
Hi Since a servlet is an extension of the server, you can't make a servlet connect to itself. Or, I should sya you wouldn't want to. If you want to load test a site I suggest you go to http://www.apache.org and get jMeter. It's a full java testing application made just for the purpose you are describing. Hope this helps.