Try playing with Javascript...
say you selected something from a combobox, you can do something like:
<select name="faveGame" onchange="doDisplayItem()">
<option value="ageofempires">Age of Empires II
<option value="counterstrike">Counterstrike
</select>
the javascript stuff could look like:
var newWindow
function doDisplayItem() {
gameUrl = <your servlet URL>
newWindow=window.open(gameUrl, "<a parameter>", "<some parameters here>");
newWindow.focus();
}
HTH,
Mio Nino P. Marquez
----- Original Message -----
From: "Vacca Davide" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 4:25 PM
Subject: Opening a new Web browser inside a servlet
> Hello to everybody,
>
> My problem is simple but I really don't know how to figure out it;
simply I have to write a servlet which writes the results as form HTML in a
new Web browser.
> i.e. I select, from a Web page, a parameter which I pass to a servlet and
the servlet must show the results in a a new web page since I don't want
lose the first HTML page (to allow the user to make a new, different
selection, for example). I've though to write the new HTML page in a
different broser, but I have not any idea how to open it from a servlet.
> Advanced thanks to everybody will help me.
>
> Ing. Vacca Davide
> Zucchetti Methosystem S.r.L.
> Via VIII Marzo
> Collecchio (PR)
> - Italy -
> [EMAIL PROTECTED]
>
>
___________________________________________________________________________
> 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