File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes servlet opening new window for applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet opening new window for applet" Watch "servlet opening new window for applet" New topic
Author

servlet opening new window for applet

Mathur Mathur
Greenhorn

Joined: Jul 02, 2003
Posts: 5
I have a index.html file which calls gamelogin1.class to check userid and password. Gamelogin1 opens gameapplet. I want to modify the code so that gameapplet is opened in a new window without tool bars etc. Exacly what should I writein place of following:
out.println("<applet code=gameapplet.class width=770 height=490 codebase='http://www.xyz.com/java-crore'>");
Can anyone help so that full window (without tool bar can be opened. thanks in advance.
bharat nagpal
Ranch Hand

Joined: Oct 26, 2002
Posts: 76
Use Window.open() method of javascript.
Explore this method,you can choose whatever you want to in your browser window, like not to display toolbar,addressbar etc.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: servlet opening new window for applet