> From: Tomas Pop [mailto:[EMAIL PROTECTED] > please, is some HttpServletRequest parameter or attribute, that > identifies the browser window?
Not to my knowledge. If you want to identify from which response the new request was generated, you'll have to write your response in some suitable way so that the requests come in with a response identifier attached. This also makes your stack management easier - if you assign a unique incrementing number to each response, you can deal with the 'stack' as a Map, with timeouts on the elements if they are large. Note that you'll need thread-safe assignment of the numbers if you expect to have multiple requests active from the same session at the same time. Note also that you could get very bloated sessions this way. Even this may not solve the problem without careful thought about users cloning windows using the browser. Consider: - User has window W open on page A. - User opens window Y, a copy of window X, using their browser menus. - User navigates to page B in window Y. - User navigates to page C in window X. - User goes back in window Y. What happens, and why? - Peter --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]