•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 402,369 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,034 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
| View Poll Results: howz it | |||
| hmmm | | 0 | 0% |
| nopess | | 2 | 100.00% |
| Voters: 2. You may not vote on this poll | |||
Views: 2067 | Replies: 6
![]() |
That has nothing to do with jsp. Ask on a Javascript forum how you might be able to cause a parent window to close after opening a child window.
The real question is, however, why don't you just simply open the new page in the current window?
If it is a matter of erasing the history, you can also do that through JavaScript without having to open a new window. Once again, ask on a JavaScript forum.
The real question is, however, why don't you just simply open the new page in the current window?
If it is a matter of erasing the history, you can also do that through JavaScript without having to open a new window. Once again, ask on a JavaScript forum.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,698
Reputation:
Rep Power: 18
Solved Threads: 195
It's also not at all urgent.
Maybe in a decade or so someone we may be able to schedule someone to look at it, our calendar is filled with more urgent things to do (like reading nice books, watching movies, and talking to the dog) until then.
Maybe in a decade or so someone we may be able to schedule someone to look at it, our calendar is filled with more urgent things to do (like reading nice books, watching movies, and talking to the dog) until then.
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
•
•
Join Date: Jun 2004
Posts: 125
Reputation:
Rep Power: 5
Solved Threads: 1
simple , use javascript.
<a href="javascript: self.close ()">Your line of code.</A>
<a href="javascript: self.close ()">Your line of code.</A>
•
•
Join Date: Apr 2006
Location: Mumbai, India
Posts: 351
Reputation:
Rep Power: 0
Solved Threads: 5
•
•
Join Date: Jun 2004
Posts: 125
Reputation:
Rep Power: 5
Solved Threads: 1
I am not able to get you , in what you are trying to come out.
•
•
Join Date: Apr 2006
Location: Mumbai, India
Posts: 351
Reputation:
Rep Power: 0
Solved Threads: 5
I'm not trying to come out. :p What I am saying is that the original post had a requirement: i want the parent window to be closed ...without any alert to be displayed...
If you are going to do a self.close(), the page is going to give an alert in Internet Explorer "The webpage you are viewing is trying to close the window" (OK/Cancel). So the solution you posted is not what the original question expected.
![]() |
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Stopping a very time consuming class method's execution on tomcat server using JSP. (JSP)
- Very Very Urgent...Need Code for Calculating Execution Time For Jsp Page (JSP)
- how to run an ireport jrxml file from a jsp page.It's urgent (JSP)
- urgent need for source code of online flight reservation system coded in JSP (JSP)
- How to store images in oracle using JSP (Java)
- jsp using java beans (Community Introductions)
- [urgent] JSP problem (JSP)
Other Threads in the JSP Forum
- Previous Thread: Servelet path problem,,,, please, I need your help
- Next Thread: How to get datas of 3 months of specified year from database using jsp



Linear Mode