jQuery in Action, 3rd edition
The moose likes Struts and the fly likes struts forwarding to a new frameset Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts forwarding to a new frameset" Watch "struts forwarding to a new frameset" New topic

struts forwarding to a new frameset

c huisman

Joined: Mar 17, 2004
Posts: 6
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
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?
Sheik Abdulla

Joined: Mar 30, 2004
Posts: 1
Use target in the <html:link...> tag.
I agree. Here's the link: http://aspose.com/file-tools
subject: struts forwarding to a new frameset
It's not a secret anymore!