This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Java Plug in for SWING applet

 
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I didnt know where to post this request, but since it's related to servlet and applet .. i have decided to POST the request here...

after searching on the net, i came to know that a seprate java plug in is required for swing applets and after i went to the sun web site, i got the code for it ..

<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="120" height="160" align="middle"
codebase="http://java.sun.com/products/plugin/1.2/
jinstall-12-win32.cab#Version=1,2,0,0">
<PARAM NAME="code" VALUE="PlugInApplet.class">
<PARAM NAME="codebase" VALUE="../src/">
</OBJECT>

After executing the above code , my applet works perflectly even on those PC where the required plug in is not there.
But now there is a problem....

What if the user doesnot have internet access. My applet page is for Intranet purpose and not for internet...so it is possible that some users wouldn't be having internet access.

Can please some one tell me where i can download this same executable that is there in the codebase (http://java.sun.com/products/plugin/1.2/
jinstall-12-win32.cab#Version=1,2,0,0)
of the OBJECT tag..so that i can put the executable file on my server and then run it when required.

Pls help.

Thank u.
 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As you can see the "codebase" parameter points to the JRE installation file. (cab file). Download the file. Place it on the intranet and refer to that location instead of the internet location.
 
Look! I laid an egg! Why does it smell like that? Tiny ad, does this smell weird to you?
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic