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.
I don't have much of an idea of what you are trying to accomplish, but from the point of view of the server an Ajax request and a "normal" request are identical. What's the issue? [ January 11, 2008: Message edited by: Bear Bibeault ]
I'm receiving request in my servlet. It was sent as an AJAX-type request and contains an xml stream.
There's a security issue that requires redirecting the user to the login page.
After a successful login, I want to have access to that xml stream, and process it in the original servlet the request was made to.
Part of the issue is that it becomes another request (I believe) at the login page, so I no longer can just call
I may be looking at this the wrong way (from how lost I am, it's entirely possible) but I was thinking I could save off the request's xml inputStream as a session object, for retrieval later.
What I'm realizing as I'm typing is that, I can process the stream as I need to before taking the action that requires the eventual redirection, and already have the information that I'll need afterwards( I think ). Hope this works, saving off an inputStream didn't sound like a good idea at all!
sorry if I needlessly took up anyone's time! thanks