Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-1) was last changed on 19-Jul-2006 09:36 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 added 24 lines
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:
* [DefaultURLConstructor] - which you're probably using right now.
* [ShortViewURLConstructor] - replaces "Wiki.jsp" with the ~WikiServlet.
* [ShortURLConstructor] - replaces all JSP pages with the ~WikiServlet.
!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".
Version Date Modified Size Author Changes ... Change note
19-Jul-2006 09:36 0.917 kB UnknownAuthor
« This page (revision-) was last changed on 19-Jul-2006 09:36 by UnknownAuthor