File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes document.location.href Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "document.location.href" Watch "document.location.href" New topic
Author

document.location.href

Harsha Jay
Ranch Hand

Joined: Jul 23, 2001
Posts: 177
When I call "document.location.href" from my window and fire of a call to the servlet to clean my session variables, why does this action close my current window? I do not want to close the window, is there a way to keep the current window open and call the 'location'?
Any thoughts?
reply greatly appreciated
Harsha
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
What do you mean by closing? Is it literaly closing the browser so you have to open a new one? Or do you mean closing as it is loosing your session?
Eric
 
Consider Paul's rocket mass heater.
 
subject: document.location.href
 
Similar Threads
opening multiple frames in a loop
modal window problem
object doesn't support the property or method
Event not getting called before window close
closing Modal dialog box