1 Reply Latest reply: Oct 13, 2011 12:30 PM by EJP RSS

    AppletContext.showDocument(url,name) does not opens document

    888525
      I have upgraded from Java 1.5_06 to 1.6.0_27 and appletcontext.showDocument(url,string) does not open up the document.
      If I type the url seperately in the browser ,it open ups but not from the Java code.
      Can you please help me,no changes in code are done,its just that I upgraded to 1.6.0_27.

      URL url = new URL(protocol + testServer+ "/" + testApp+ "testFolder/"
      + "test.asp"
      + "?file="
      + SerialNo
      + "/" + fileName
      + extension);
      appletContext.showDocument(url,"test");

      I printed the url http://testServer/testApp/testFolder/test.asp?file=1/test.pdf
      and I also printed the applet context is sun.plugin2.applet.Plugin2Manager$AppletContextImpl

      Dont know why it doesnt show up and no error message is displayed.
      Please help

      Thanks,