Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How do I set redirect to a specific target  RSS feed

 
Arthur Buliva
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



is the code I use to set a redirection from my jsp page.

This page resides in an iframe in the main page and I would like to set the target to "_parent".

Any idea how I could do this?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't. The response will be sent to the window/frame/iframe in which the request was made. You'll need to make sure that the initial request is made to the correct target.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!