⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 urlconstructors.txt

📁 wiki建站资源 java编写的 很好用
💻 TXT
字号:
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". 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -