JSPWiki logo
Strona główna
Zbieranina
Serwisy
Porady
Projekty
Humor sektora IT
TODO
Nowości
Ostatnie zmiany
Kontakt

Find pages
Unused pages
Undefined pages
Page Index

Set your name in
UserPreferences

Edit this page


Referenced by
Default URL Construc...
Main
Short URL Constructo...
Short View URL Const...




JSPWiki v2.2.33


URL Constructors


An URL Constructor is a JSPWiki plugin which can be used to control how the different URLs that JSPWiki generates should look like.

Choosing your URLConstructor

JSPWiki includes three basic URLConstructors for managing link generation:

Using a URLConstructor

Edit your jspwiki.properties file, and add the following line:

jspwiki.urlConstructor = <constructor name>

For example:

jspwiki.baseURL = http://example.com:8080/testwiki/
jspwiki.urlConstructor = ShortURLConstructor

would use the ShortURLConstructor. All relative URLs would look like "/testwiki/wiki/Foobar" and all absolute URLs would look like "http://example.com:8080/testwiki/wiki/Foobar".




Go to top   Edit this page   More info...   Attach file...
This page last changed on 08-Jun-2005 19:34:26 GMT by unknown.