well sorry, I don't exactly understand what you mean...
<snip>
Well, you could change the actual request URL before the param
list and
have it map to the same servlet ...
</snip>
You say not to use
http://www.s.com/Test.jsp?unique-param=value¶m2=value and do
something like:
http://www.s.com/MapedServlet?unique-param=value¶m2=value where
MapedServlet is the Test.jsp rewriten to a servlet and than configured
in application web.xml ?
<snip>
Is the new window named in the html code? Or are you just using
target="
_blank"?
</snip>
Here is the url I use:
onclick="MM_openBrWindow('https://dorel/trade/TradePlatform.jsp?operatio
n=join&profile=BUYER&user_id=<%= userId %>&trade_id=<%= t.getId()
%>','tradePlatform_<%= t.getId()%>','status=yes,width=450,height=530')"
As you see the new window is named in the RESULTING html code and has a
unique name = tradePlatform_1 for t.getId()=1 (trade id = 1).
Please
-----Original Message-----
From: CBeck@xxx.com [mailto:CBeck@xxx.com]
Sent: Monday, December 09, 2002 6:03 PM
To: resin-interest@xxx.com
Subject: RE: desperate help
Well, you could change the actual request URL before the param list and
have it map to the same servlet ...
Is the new window named in the html code? Or are you just using
target="
_blank"?
If it is named then you need to change that.
-- -Chris Beck - Coradiant, Inc - Research & Development - +1.514.908.6314- -- http://www.coradiant.com - Leaders in Web Performance Optimization -- ------- This email represents my opinion, not that of Coradiant. ------- And somewhere around the world Someone would love to have my first world problems - mgb |---------+-------------------------------> | | "Dorel Vaida" | | | <Dorel.Vaida@xxx.ro>| | | Sent by: | | | owner-resin-interest| | | @caucho.com | | | | | | | | | 09.12.2002 08:11 | | | Please respond to | | | resin-interest | |---------+-------------------------------> >----------------------------------------------------------------------- -------------------------------------------------------| | | | To: <resin-interest@xxx.com> | | cc: | | Subject: RE: desperate help | >----------------------------------------------------------------------- -------------------------------------------------------| Sorry it doesn't work. I already construct the url for the new window with at least one unique parameter (from jsp) and I appended a counter through JavaScript and it simply won't work. the requests are already different. The client identification data only (used by the server to allocate the session) is the same. -----Original Message----- From: Florin Herinean [mailto:FHerinean@xxx.de] Sent: Monday, December 09, 2002 2:14 PM To: 'resin-interest@xxx.com' Subject: AW: desperate help That's a sort of normal behavior for the browser. It has detected that the second request is identical with the first one, so it expects (logically) to get the same page. So why to start another request ? Just wait for the first to finish, and then display the same content in both windows. If you want to avoid that, then you NEED to make different requests. Just append to the request a counter (that you can ignore in the requested page), which has to be incremented using javascript (it must be on the client side) each time you make the request. Of course, if javascript is deactivated, that will not work. Cheers, Florin -----Ursprüngliche Nachricht----- Von: Dorel Vaida [mailto:Dorel.Vaida@xxx.ro] Gesendet: Montag, 9. Dezember 2002 12:45 An: resin-interest@xxx.com Betreff: desperate help Hello everybody I'd like to ask you a question, if anybody encoutered this before ... I have an application that when pressing a button from a html file on server A makes a submit to another page on server B in a new window each time. The page on server B is extremely big so it takes alot to load. My problem is that while the page on server B is loading if a press again the button on the page A, a new page on B is opened BUT doesnt start loading unless the other is finished. This happens on IE 6 and this is what I want to avoid. I want the second page to start loading immediately. Anybody any thoughts ? I noticed that if I press button on page A in completely different browser windows things work fine. It behaves like I would like too. But it must work from the same button in the same page on server A. I thought that it's a session problem, thus I invalidate the session on server B and create a new one (session.invalidate(); session = request.getSession(true)) every time I enter the page on server B but it dowsn't work though. Does anybody know how to make a request to look like it is from completely different browser windows when in fact comes from the same one ? Please help, almost my entire app is based on this behaviour and it's too late to rewrite it...Received on Mon 09 Dec 2002 08:47:52 -0800
This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:17:28 PDT