File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Plug in for SWING applet

 
Rekha Pande
Ranch Hand
Posts: 145
  • 0
  • 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.
 
Manuel Moons
Ranch Hand
Posts: 229
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic