I recently came to know abt the target tag used in HTML. Having known that, I was wondering if there is a similar way of sending the response from a servlet to a new browser window. Basically, can I fire off a new browser window using the response of a servlet? Just curious...... <h5>I am trying to read the servlet specs (74 pages you know), so I thought I could ask here instead.......... </h5> Thanks. - satya
Satya, I assume you want to call a servlet and this servlet should dynamically fire off a new window and write some dynamic contents. Is this what you wanted? If so the following code will work I think. I tested the functionality as a html file called fireNewWin.html. What our servlet should do is , inside fireNewWin() method do all the out.printlns....... of all lines of this .html file. Another better idea could be, make this .html file as .jsp file and replace the dynamic part alone with <% %> tags. Since it is tedious to do all out.printlns from servlet. Just to make a simple test, cut and paste the commented html part alone and save as fireNewWin.html and open in a browser and see if this is what you wanted.
regds maha anna [This message has been edited by maha anna (edited March 30, 2001).]