<script language="javascript">
var i;
function showWindow(servlet) {
i = window.open(servlet,"servletWindow","height=n,width=n");
i.focus();
}
function focusWindow() {
i.focus();
}
</script>

<body onload="showWindow('/servlet/myServlet')">

- jon

Wellington Lacerda wrote:

> Hi, Andrea
>
> Adding to Thor's answer, if, otherwise, you want to return something to a, say,
> applet, without use html response, you can use servlet's outputstream mechanism.
>
> As you can see, you were not clear in your question.
>
> Wellington Lacerda
> Brazil
>
> Andrea Lardicci wrote:
>
> > Hi All,
> > Can anyone tell me a way to show a servlet's output over the browser window?
> > I mean totally hidding the original browser window.
> > Any suggestion would be appreciated.
> > AL
> >
> > ___________________________________________________________________________
> > 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

___________________________________________________________________________
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