March 03, 2010

What is Difference between Signed and Unsigned Applets?

Oh, now that I re-read my own post I see the difference causing the failure:the unsigned applet prepends the absolute path of the server, while the
signed applet does not (and so it goes to the root of my hard disk, I guess)
(OR)
the unsigned applet is adding the server URL before the given (absolute) path, while the
signed applet is inserting nothing.

For the signed applet to work in the wiki, the path provided by the wiki needs
to be inserted.
I will see what happens if I omit the initial /
but I guess that's going to be trouble, since the wiki root is not the same as
the server root.

Path given in the wiki:
Butane.pdb
Path resolved by the extension and passed onto Jmol.js:
/mediawiki-1.11.0/images/d/d3/Butane.pdb
(which is the real location of the file whose wiki address is Image:Butane.pdb )

Path requested by the unsigned applet:
http://127.0.0.1/mediawiki-1.11.0/images/d/d3/Butane.pdb
since I am using a local server.

Path requested by the signed applet:
file:/mediawiki-1.11.0/images/d/d3/Butane.pdb

Rolf wrote:
> This is how Bob designed it. In response to my objections the unsigned
> applet still allows using a server absolute path as it used to be
> before version 11.6. But for the signed applet this is interpreted as
> a file system and not server absolute path.

2 comments:

  1. I do believe all of the concepts you've offered for your post. They are very convincing and can certainly work. Still, the posts are too short for newbies. Could you please lengthen them a little from subsequent time? Thank you for the post.

    Here is my website play roulette now

    ReplyDelete
  2. It's an amazing paragraph for all the online visitors; they
    will obtain benefit from it I am sure.

    Have a look at my web site http://thecamerafactory.com/8_Tripods-Monopods.html]

    ReplyDelete

I'm certainly not an expert, but I'll try my hardest to explain what I do know and research what I don't know.

My Favorite Site's List

#update below script more than 500 posts