This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
 
subject: servlet opening new window for applet