• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Forward Pages into a Frame

 
Meyer Florian
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey!
I've got a static mainframe with links, all the pages (xxx.do-actions) will be opened inside a frame (an iframe).
When I click the link in the mainframe, I only say <a href="xxx.do" target="rightframe">.
In that xxx.do I can view addresses and edit them. this edit dialog will be forwarded by "return mapping.findForward("edit").". Will that edit page be shown in the frame or as new top-page in the browser? How or where can I set a frame for the forward page?
thanks for any help!
Florian Meyer
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34206
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would be shown in the frame because that is the target for the link. If you want to change the target, it needs to be done in the HTML before you submit the link. Struts can change the result page, but it cannot change the target.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic