• Post Reply Bookmark Topic Watch Topic
  • New Topic

Forwarding to a different HTML Frame

 
Pamela Heaton
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I was wondering if anyone can tell me how to forward using RequestDispatcher or SendRedirect to a jsp page displayed in a different frame from the one I came from.
Thanks
Pamela
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if this is what you had in mind, but it is one way of doing it. You can add a target to the frame you are working in to go to another target. This will set the target from before it even gets to the servlet. I know that works with links, but I am not sure if the form tag has a target attribute.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, the form tag has a target attribute.
With regards to changing targets in mid-stream, I do not think that there is any way to accomplish that.
hth,
bear
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!