This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Applets and the fly likes Java Plugin Problem 1.3.1_02 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Java Plugin Problem 1.3.1_02" Watch "Java Plugin Problem 1.3.1_02" New topic

Java Plugin Problem 1.3.1_02


Joined: Jan 07, 2002
Posts: 6
Dear All:
I have a java Plugin Problem. Before I was using the Java Plugin 1.3.1_01 and it works fine. However, after I switch to 1.3.1_02. It will crash the IE explorer and said the "run time error". I try to disable the 1.3.1_02 and enable the 1.3.1_01 from the control panel. However, it still fail and crash my IE. Can anyone please give me a hand.
below is the code. It work for 1.3.1_01
public void listContentApplet( Properties properties, Locale locale, OutputStream outputstream )
throws WTException {
//##begin listContentApplet%392035FF00C6.body preserve=yes
PrintWriter printwriter = getPrintWriter(outputstream, locale);
String s = properties.getProperty("style", "link");
System.out.println("ListContent APPLET");
printwriter.println(hiddenContextString("contentUpdate", "updatingContent"));
printwriter.println("<OBJECT classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\" WIDTH=\"500\" HEIGHT=\"300\" Name = \"boot_jar\" >");
printwriter.println("<PARAM NAME = CODE VALUE = \"wt/boot/BootstrapApplet.class\" >");
printwriter.println("<PARAM NAME = ARCHIVE VALUE =\"wt/security/security.jar\" >");
printwriter.println("<PARAM NAME = \"codebase\" ARCHIVE VALUE =\"../../..\" >");
printwriter.println("<PARAM NAME= Name VALUE=\"wt.jar\">");
printwriter.println("<PARAM NAME=\"type\" VALUE=\"application/x-java-applet;version=1.3\">");
printwriter.println("<PARAM NAME=\"scriptable\" VALUE=\"false\">");
printwriter.println("<PARAM NAME = \"boot_class\" VALUE =\"ext.spgg.doc.kwcommondoc.ContentApplet\">");
printwriter.println("<PARAM NAME = \"cabinets\" VALUE =\"wt/security/\">");
if(locale.getLanguage() != null && !locale.getLanguage().equals(""))
printwriter.println("<PARAM NAME = \"wt.context.locale\" VALUE =\""+ locale.getLanguage()+ "\">");
printwriter.println("<PARAM NAME = \"oid\" VALUE =\""+(new ReferenceFactory()).getReferenceString((wt.fc.Persistable)getContextObj())+"\">");
if(s.equals("create")) {
printwriter.println("<PARAM NAME =\"mode\" VALUE =\"0\">");
} else if(s.equals("update")) {
printwriter.println("<PARAM NAME =\"mode\" VALUE =\"1\">");
} else { // get mode
printwriter.println("<PARAM NAME =\"mode\" VALUE =\"2\">");
printwriter.println("<COMMENT><EMBED type=\"application/x-java-applet;version=1.3\"");
printwriter.println(" ARCHIVE=\"wt/security/security.jar\" boot_class=\"ext.spgg.doc.kwcommondoc.ContentApplet\"");
printwriter.println("WIDTH=\"500\" HEIGHT=\"300\" boot_jar=\"wt.jar\" cabinets=\"wt/security/\"");
printwriter.println("scriptable=\"false\" ");
if(locale.getLanguage() != null && !locale.getLanguage().equals(""))
printwriter.println("wt.context.locale=\"" + locale.getLanguage() + "\"");
printwriter.println("oid = \"" + (new ReferenceFactory()).getReferenceString((wt.fc.Persistable)getContextObj()) + "\"");
if(s.equals("create")) {
} else if(s.equals("update")) {
printwriter.println("mode =\"1\"");
} else { // get mode
//##end listContentApplet%392035FF00C6.body
Have you checked out Aspose?
subject: Java Plugin Problem 1.3.1_02
It's not a secret anymore!