Re: Multiple windows in a browser going to the same servlet

2002-08-14 Thread Adrian Janssen
window == top etc. > -Original Message- > From: Dror Matalon [SMTP:[EMAIL PROTECTED]] > Sent: 13 August 2002 07:51 > To: [EMAIL PROTECTED] > Subject: Re: Multiple windows in a browser going to the same servlet > > I finally figured out the answer to this. T

Re: Multiple windows in a browser going to the same servlet

2002-08-13 Thread Dror Matalon
I finally figured out the answer to this. The following web page demonstrates how you can tell in javascript if a page is new or old. if (window.name == "foobar") { document.writeln("old window");

Re: Multiple windows in a browser going to the same servlet

2002-08-13 Thread Eric Noriega
I'm not sure of your exact requirements, these sorts of request are constant, and usually stem from a wrongheaded design. Web applications give up a certain level of control, and in doing so achieve reuse by not needed to supply all of the interface design for every machine and every display

Re: Multiple windows in a browser going to the same servlet

2002-08-12 Thread Dror Matalon
Assume that you have page foo.html in windows 1 that has a link to bar.html in it. The question is, how do you tell the difference betwenn the user clicking on the link and going to bar.html and the user right clicking on the link and choosing "open link in new window" (there's different ways of

Re: Multiple windows in a browser going to the same servlet

2002-08-12 Thread Jayson Falkner
Use JavaScript to encode your URLs with the window name, or some other unique ID. For instance: http://www.foo.com?pageid=page1 Then mine the information out on the server-side accordingly. Given your specific use, it may be possible to encode the links on the server-side to achieve the same go