Change html of the page you are using to submit information
use <FORM> tag property TARGET e.g.
<form action="ServlerName" target="_blank">
while setting this property "_blank" every request will be opened in a new
window.
Hope this will help.
Baig
Stefan Cristoloveanu <[EMAIL PROTECTED]> on 08/09/2000 06:11:30 AM
Please respond to "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Imran Baig/CresSoft)
Subject: Opening a new browser window from a servlet
Hi!
I have a servlet which is called via the submit button of a form.
It processes some data using an Oracle database and outputs the results
using an HttpServletResponse response.getWriter.
The problem is that the results are outputted in the browser window
from where the servlet was called.
I would like to output the results in a new window. How can I do that?
Thanks for your help!
Stefan
___________________________________________________________________________
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