• 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

struts forwarding to a new frameset

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I am adding struts to an existing web site and I am having great difficulty performing the following task. In the frameset (idx_frameset1.jsp) their is a navigation frame, title frame and body content frame. I create an
<html:link page="/action.do?action="doAction" >
Do Action
</html:link>
link in the navigation bar. This link goes to the actionAction servlet and then gets mapped to a new frameset (idx_frameset2.jsp) that has a different navigation frame and body content. The problem is that the navigation frame displays the new frameset instead of the new frameset being displayed. My question is, how do I get the new frameset to load instead of loading in the navigation frame (I also do not want to pop up a new window - so no target i guess).
Previous to making the site dynamic an anchored href was used that simple had the frameset name was used. Why can't I just forward to that page?
thanks,
c.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Use target in the <html:link...> tag.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic