This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes want help in iframe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "want help in iframe" Watch "want help in iframe" New topic

want help in iframe

Mahesh Malviya
Ranch Hand

Joined: Aug 20, 2004
Posts: 39
Hi All,
Let me first clear the subject. I have two frames in a jsp page. I want that I can see the contant of the first frame everytime. But content of the 2nd frame should change according to the first frame. I am using sturts frame work. when I go for submit button on the first frame it should change the contant of the 2nd frame accordingly. But at present instead of opening the same page it opens the Main page in the first frame only.

my config.xml file is

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"


<!-- Data Sources -->

<!-- Form Beans --><form-beans>
<form-bean name="blankpForm" type="com.uboc.wpm.forms.BlankpForm">
<form-bean name="recordForm" type="com.uboc.wpm.forms.RecordForm">
<form-bean name="splitForm" type="com.uboc.wpm.forms.SplitForm">

<!-- Action Mappings -->

<!-- Message Resources -->
<action path="/blankp" type="com.uboc.wpm.actions.BlankpAction" name="blankpForm" scope="request">
<forward name="success" path="/JSP/BlankRecords.jsp">
<forward name="failuar" path="/JSP/error.jsp">
<action path="/records" type="com.uboc.wpm.actions.RecordAction" name="recordForm" scope="request">
<forward name="success" path="/JSP/RecycleRecords.jsp">
<forward name="failuar" path="/JSP/SplitRecycledAternate.jsp">
<action path="/split" type="com.uboc.wpm.actions.SplitAction">
<forward name="success" path="/JSP/BlankRecords.jsp">
<forward name="failuar" path="/JSP/BlankRecords.jsp">


I want to know that what is the best way to deal with such problem. OR What can we do when we want first page same as it is in one frame and want second frame to be refreshed only according to the first frame.

Thanks and Regards
Mahesh Malviya
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: want help in iframe
Similar Threads
Problem installing demo webapp
Help in struts
Looking for Action instance for class test.struts.LoginAction
validation issues
Struts Without Form Bean