Looping a JavaBean through a JSP/Servlet possible?

I have a webapp that has a JSP page that shows data in an "HTML form" based on a JavaBean passed in from a Servlet. When the user submits the form (possibly with changes), I would like to be able to send this exact same JavaBean (with original data and possibly some modified data) back to the original Servlet. I can't seem to find any examples that do this. I don't want to do this at the "session or application" scope if possible. Am I correct in thinking that this is not something that can be done in "one" request scope. I would think that there are two separate requests being made here for one "loop". One request that's forwarded into the JSP, and another that's created by the form submission. Can anyone verify that this is indeed possible, and point me in the right direction. Or if there is a reason that it's not possible, please explain why. Thanks in advance.

[888 byte] By [GregoryRobertsa] at [2007-11-26 17:58:17]
# 1

Whenever your browser submits, or you navigate to a page, or you do a redirect, you are creating a new request. You are correct in thinking that you cannot retain the original bean when you don't want to use the session, you'd have to take the form fields and recreate your bean.

The session is for storing temporary data across multiple requests, which is apparently what you want so I don't really understand what your problem with it is.

gimbal2a at 2007-7-9 5:11:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

I did try using keeping the JavaBean as a session object but I have one major problem. I ran a very simple webapp with nothing more than one JSP, one JavaBean, and one Servlet. When I tested this webapp with multiple browser windows, it always used the exact same session id. So if I have two "loops" going on, I need distinct data between the two. I don't see how this is possible using session objects. Am I missing something?

GregoryRobertsa at 2007-7-9 5:11:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Anyone have any more thoughts on this? Thanks.
GregoryRobertsa at 2007-7-9 5:11:35 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...