Hello Depak,

Two days ago I had exactly the same problem:
I use three frames, each relates to different Servlet.
I want to receive parameters from one frame (Servlet A) and send the result
to other frame (relate to Servlet B).

The solution is very easy:
In the <HEAD>  segment of the HTML put the line   < BASE TARGET =
"detonation frame name" >
Where the destination name is the name of the frame the you want to send the
data to.

In short: without doing anything special in the Servlet source, this line
will redirect the HttpServletResponse  to the destination frame.

Hope it's answer your question,
Gilad.




        -----Original Message-----
        From:   MSANDIP [SMTP:[EMAIL PROTECTED]]
        Sent:   Tuesday, May 04, 1999 7:42 AM
        To:     [EMAIL PROTECTED]
        Subject:        Servlet Security Problem?

        Hi,

        I've got a web page with two frames.

        One frame is populated with a html document.
        (Frame1.document.location = file:///C|TrialStuff/PO.html)

        The other frame is populated by the output of a servlet.
        (Frame2.document.location = http://localhost:8080/servlet/zoom)

        The problem is, these two don't seem to be on talking terms.
        They can identify each others frame.name, but refuse to
        access anything within the others frame.document.

        Do I have a security problem on my hands?
        Any suggestions?

        Thanks,
        Deepak.


___________________________________________________________________________
        To unsubscribe, send email to [EMAIL PROTECTED] and include in
the body
        of the message "signoff SERVLET-INTEREST".

        Archives:
http://archives.java.sun.com/archives/servlet-interest.html
        Resources:
http://java.sun.com/products/servlet/external-resources.html
        LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to