Neeraj Arora wrote:

> 1). I am facing the problem in sending response html page when more than one 
>instance is
> open on the same machine.Can we identify the window which has send the request so 
>that
> response will be directed to that particular window only.
>
> 2). How can we control the number of instances on same machine?

> 3). One more thing can we control the target(bottom,new window) through
>     response.sendRedirect();

The answer to all of these questions is No; not through servlets, or any kind of
manipulation of the socket, or raw data stream.

But you can use JavaScript in the HTML code you are sending to the client to take care 
of
these things.

For example, you can make sure that data is only shown in a particular frame by 
writing your
HTML to the parent.frames["<frame_name>"].document object, or <window_name>.document 
object
on the client.

___________________________________________________________________________
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