WordPress.org

Ready to get started?Download WordPress

Forums

Path of the post (2 posts)

  1. markww
    Member
    Posted 6 years ago #

    Hi,

    I installed wordpress to my public_html folder. I have a java applet here:

    public_html/example/my_java_applet.class

    I tried writing a post which displays the applet, but I can't seem to resolve the location of the applet relative to the post. I did the following:

    <applet code=example/my_java_applet.class

    How can I resolve the applet path?

    Thanks,
    Mark

  2. Kafkaesqui

    Posted 6 years ago #

    The path to your applet goes in the codebase attribute. Try:

    <applet code="my_java_applet.class" codebase="/example/"

    Which specifies to start at the root of your site. Or just use the full url:

    http://example.com/example/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags