Hi!

I would agree with Ratnakararao Allamsetty in the point of using LiveConnect.
Use JavaScript (window.open ...) to open a new window and document.open/.write/.close
within JavaScript to write the HTML content into the page. Here a possible
situation:

applet -> HTTP-req. -> (HTML Page within a String) -> invoke a JavaScript
function (within the applet's HTML page and the HTML as a Parameter) ->
open the new window (Menu-Bar on or containing a Button which invokes the
print method window.print)

hope it helps,
              Simon

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Swapnil Deshmukh
> Sent: Thursday, January 13, 2000 6:55 AM
> To: [EMAIL PROTECTED]
> Subject: related APPLET /SERVLET !!!!!!!!!!!!!!
>
> I have an applet on which if a button is pressed,
> the servlet sends a file(html/doc..)..to the browser/applet
> I want the browser to create a new window to show this file, so that the
> client is able to print it from the browser/viewer on his local m/c.
> meanwhile the applet remains in the first window.
> user client can print the html/doc file, close that window and resume
> using the applet.
> I don't want to go for signed applets.
> can this be done?
>
> Thanks in advance,
> Swapnil

___________________________________________________________________________
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