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).]