| Author |
Populate iFrame from main JSP
|
Kevin P Smith
Ranch Hand
Joined: Feb 18, 2005
Posts: 362
|
|
Hi guys i'm currently using a Servlet to post some results to a JSP. The problem is the resuklts are within a second JSP inside an iFrame. I am posting the results back to the main parent JSP and need to somehow parse them over to the child JSP withi the iFrame (still with me) SO: Servlet -> Results.jsp -> iFrmae(frame.jsp) Any ideas? Cheers.
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
As far as the server side code is concerned, each frame is a different client and has no handle to any client other than the one from which the request was made. The solution to this is the "target" attribute of the link or form that made the request. Moving to the HTML/Javascript forum where you can get more help on the target attribute and/or frame interaction via Javascript.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: Populate iFrame from main JSP
|
|
|