dcsimg
working with frames using jsp
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ganesh_Kumar
Posted On:   Saturday, September 4, 2004 02:26 AM

hi guys,
i am doing a program using html frames.
my page has two frames, in the first frame i have a button(not an hyper link). when i submit the button some message should be displayed on the next frame.
i dont know how to intereact with other frame using jsp code.
please help me, if anybody having solution for this.

Re: working with frames using jsp

Posted By:   Anonymous  
Posted On:   Monday, September 6, 2004 05:43 AM



Hi Ganesh,


To Communiate with other frame


1. Rewrite your frame2 url as
YourURL?message='Your Message'

ex: frame2.src = YourURL?message='Your Message'


2. Access that message using request.getParameter() method.



Re: working with frames using jsp

Posted By:   uma_rao  
Posted On:   Saturday, September 4, 2004 07:06 AM


In your first frame on your button click call the following statement.





parent.frames[1].document.write("Your Message");


let me know it is working or not
About | Sitemap | Contact