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.
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.
I don't know Struts and this is the wrong forum to be asking your question (you want the Web App Frameworks forum) but I'm going to try and give you a pointer.
If you were doing this the old-fashioned way with straightforward HTML (which is, after all, what your Struts translates to before it reaches the browser) you'd need to use the 'target' attribute of your <form> tag, for example:
In your Struts config file, do the <action> or <forward> elements allow you to specify a target attribute? I reckon that's the key to your problem.