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.
Not an answer to your question, but JSPs aren't the right technology for anything but HTML. Using them to stream XML might very well lead to trouble, since you can't really control the whitespace it inserts into the page. You'd be better off using a servlet.