try this
<html>
<head>
<script language="JavaScript">
function newwin()
{
window.open("x.html","Check","height=100,width=100,menubar=no,scrollbars=no,
toolbar=no,left=250,top=150");
window.refresh();
}
</script>
</head>
<body onload=newwin()>
</body>
</html>
Regards
V.T.R.Ravi Kumar,
Engineer, CCX,
BHEL, Hardwar, INDIA
*****************************************
Phone : 0133-485405.
Fax : 0133-423948.
Web : http://vtr.2itb.com
Alternate mails: [EMAIL PROTECTED]
[EMAIL PROTECTED]
*****************************************
----- Original Message -----
From: "Markus Spath" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 23, 2002 1:27 AM
Subject: Re: new url
> tejas patel wrote:
>
> > Hi all,
> >
> > I want to open a new browser window in which I want to display some
> > information in html format.
> >
> > any one knows how I can open new window from my servlet
> >
>
>
> you can't open a new window from your servlet.
> you can open new windows from your html-page using javascript, so if you
want
> your servlet to generate the content for this window, you just pass the
request
> for your servlet as the url parameter when opening the new window.
>
> hth,
> markus
>
>
___________________________________________________________________________
> 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