Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Page Redirection in a JSP

 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

I have a scenario wherein I open a popup from a jsp page. I make some changes in that pop up which itself is a jsp page and when submitting I want to close the popup and refresh the parent page from which I open the popup. The problem I face here is that I use ATG and the navigations are not properly defined and I"m quite new to this technology. Any ideas on how to do this with simple javascript. My idea is to ship the actual url that I see in the address bar of the browser when I open the popup and when clicking the Submit button in the popup, refresh the url that I got when I opened the popup. Any ideas on this?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to ask JavaScript questions in the HTML/JavaScript forum. I have moved this post there for you.
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for moving this in the right forum. Any ideas on my post above?
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jothi ,
If the parent window is GET request , you can go ahead with that approach.
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to get the actual URL that I see in the address bar of the browser?
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


How to get the actual URL that I see in the address bar of the browser?

window.location will give the URL. howz that going to help you.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is ATG? Is it relevant to the question?
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.atg.com/ is a technology similiar to popular frameworks like Struts/Hibernate together.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic