This Plugin is yet another plugin to run applets into JspWiki. I hope it is simpler than the others.

To use it, you just need to :

  • put 'myAppletPlugin.jar', situated in attachment, into '<tomcat_path>/webapps/<your_webapp>/WEB-INF/lib'
  • add 'jspwiki.plugin.searchPath = myAppletPlugin' in your (located in '<tomcat_path>/webapps/<your_webapp>/WEB-INF/')

Then :

  • add the jar file of your favorite applet in the attachment of the page that you will refer to in the 'archive' parameter of the plugin (for example freemindbrowser.jar that can be found here
  • don't forget to do explicit references to the files your applet may use
    • absolute path : /<your_webapp_name>/attach/<your_page_name>/<file_name>
    • local path from web page : ./attach/<your_page_name>/<file_name>

Example of Applet plugin running freemindbrowser.jar
[{Applet debug='false' archive='MyAppletPlugin/freemindbrowser.jar'
code='freemind.main.FreeMindApplet.class' type='application/x-java-applet;version=1.4' scriptable='false'
modes='freemind.modes.browsemode.BrowseMode' browsemode_initial_map='./attach/MyAppletPlugin/'
initial_mode='Browse' selection_method='selection_method_direct' height='400'}]

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
myAppletPlugin.jar 5.0 kB 3 09-Nov-2009 18:48 DuvergerP
screenshot.png 51.7 kB 1 07-Nov-2009 20:38 DuvergerP
« This page (revision-3) was last changed on 08-Nov-2009 19:24 by DuvergerP