Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java_server thread: open new browser window from servlet


Message #1 by "Phil Zud" <ph.z@g...> on Thu, 8 Mar 2001 10:59:53
Hi,

You can do it in u'r HTML code that is either already
present or that u have send in the previos Servlet.

here it goes u send a page where u have put a hyper link(
say :
out.println("<a>http://serverip.com:8080/servlet/OpinNewWindow.class</a>")
 on whose click u want the broser to open a new window. so
u rewrite the code as 
out.println("<a>http://serverip.com:8080/servlet/OpinNewWindow.class
target = _BLANK</a>")  


I hope this answers u'r query.

regards
Deepak

--- Phil Zud <ph.z@g...> wrote:
> Hi all, how can i open a new browser window from my
> servlet and write its 
> response to it?
> 
> Thanks ... Phil


  Return to Index