This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Create a file called closeWindow.htm with the following tag:
(The above on load should be all one word with no spaces, but for some reason the the program used by javarach wouldn't let me post it as one word)
Follow the normal procedure for a struts action: Create two local forwards, for "success" and "failure". Have "failure" forward back to the original jsp and have your "success" forward to closeWindow.htm.