What is JSPWiki?
JSPWiki is a WikiWiki clone, as simple as you need it to be, written in Java and JSP. A WikiWiki is a web site which allows anyone to participate in its development. JSPWiki supports all the traditional wiki features, as well as very detailed access control and security integration using JAAS.
Quick and simple install
That's it, you can start creating pages now, here is the Wiki Syntax!
Customizing your Installation
As noted above, it is assumed that you have read/write access to some directories. Most of the time this is fine. Sometimes however, you may wish to change these locations, or change how JSPWiki is configured (i.e.: your base URL, RSS feeds, Java Mail configuration, and a large etcetera).
In the $TOMCAT_HOME/lib folder (or equivalent based on your servlet container), place a jspwiki-custom.properties file, which can contain any overrides to the defaults. See Configuration for these default values.
Review these defaults to look for values you may wish to override. Some common values to override include:
The custom file can also be placed in the WEB-INF folder of the WAR, but storing this file in $TOMCAT_HOME/lib allows you to upgrade the JSPWiki WAR without needing to re-insert your customizations (no war surgery required).
Installing core pages
There is a set of core pages (in different languages) in the download that you can load into your wiki. Unzip the contents of jspwiki-corepages.zip into your newly created directory. You can find the rest of the documentation in the JSPWiki-doc.zip file.
Point your browser at http://<where your Tomcat is installed>/MyWiki/. You should see the Main Wiki page.
The WEB-INF/jspwiki.policy file is used to change access permissions for the Wiki.
Have a look at the default jspwiki.properties file in the installation. There is quite some extensive documentation about all the configurations you can make for your wiki. We dumped it's contents here too.
There are several options to configure JSPWiki (in order of precedence) :
A few examples to start JSPWiki in Tomcat with a custom baseURL (a very obvious property you may want to change) :
Using JVM args :
export CATALINA_OPTS="-Djspwiki.baseURL=http://www.example.com/mywiki" /usr/local/tomcat/bin/startup.sh
Using envvars :
export jspwiki.baseURL=http://www.example.com/mywiki /usr/local/tomcat/bin/startup.sh
See also CustomUserPreferences
To set up a development environment for JSPWiki see DevelopmentEnvironment
JSPWiki is easily extendable. You can write your own (Java) programs to customize or extend the behavior of JSPWiki. These "plugpoints" come in three flavors:
For UI Customisation see: