• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Forward Pages into a Frame

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic