This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can't able to get applet in browser

 
sasank manohar
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
//WelcomeApplet.jsp

import java.applet.*;



The above one is the applet program and the below program is using the plugin to plugin the applet into the browser and i use mozilla

//index.jsp




well i compiled it i am getting the message " This is Applet plugin example"

but below that i am getting a window in which the browser is indicating to " download plugin" instead giving a " welcome" message.

so what could be the problem

i tried both line 1 and line2 but the problem persists. I am using netbeans ide 6.5 and all this i am doing in a project name "PluginAppletJSP"

I also tried by copying the WelcomeApplet.class file in webpages and run it but no use.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Is the wrong idea. Applet classes are loaded by a browser with requests to the server. The server can only serve classes from the web application directory system. Any good applet tutorial should help you on this.

Bill
 
sasank manohar
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah bill, i did not realize this until you said it, and what should i do now so that this works !
thanks anyway .yeah i don't know much about applets but you know basically i am learning jsps now so i just want to experiment a bit with plugin .
 
Ulf Dittmer
Rancher
Posts: 42967
73
 
sasank manohar
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, i will do that thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic