Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

response.redirect having target  RSS feed

 
Vaibhav Deshpande
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My jsp page is in frame. I am using response.Redirect to redirect my page.
Is there any target attribute in java to target redirect URL to top or come out of frame.
i am using
response.sendRedirect(response.encodeURL(l_str_Redirect_URL));
how to give target to come out of frame.
thanks in advance.
vaibhav
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Control of where a given response is displayed on the browser side is only possible on the browser side. You may have to go to JavaScript to get better control of the browser side display.
Bill
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!