简介

是一个功能强大 ,易于管理的编写的论坛。它的设计完全遵从MVC设计模式,能够在任何Servlet容器与EJB服务器上运行。而且可以轻松的定制与扩展论坛。

是一个功能完善,强大,支持多论坛版块.功能包括:无限版块、无限分类(版块分类),主题观注,邮件提示,站内信息,用户分组,高级灵活的限制设置,等等。

安装指南

1. Downloading  from http://www.jforum.net/download.jsp
2. unzip *.zip
3. mv -x.x.x to jform
4. mv  /usr/local/tomcat/webapps
5. http://localhost:8080/jforum/install.jsp  //  2.1.7

Please give write access for the user who is running the webserver

to the file 'index.htm' and for the directory 'WEB-INF/config' and its
subdirectories before continuing.

Missing index.redirect file.

http://www.jforum.net/posts/downloadAttach/328.page
http://localhost:8080/jforum/  //  2.1.6 根据安装向导完成安装,可选择中文

创建数据库

mysqladmin -u root -p create 
mysql>create database ;
mysql>GRANT ALL PRIVILEGES ON .* TO @localhost IDENTIFIED BY '';
mysql>flush privileges;

Hack

修改 .page 的后缀 为 .html

对于 2.1.6 版本,修改以下三个文件 1. WEB-INF/config/SystemGlobals.properties

servlet.extension = .page  -> servlet.extension = .html

2. WEB-INF/web.xml (修改两处)

<url-pattern>*.page</url-pattern> -> <url-pattern>*.html</url-pattern>

3. index.htm

<script>
 document.location = "forums/list.page; -> forums/list.html
</script>
http://localhost:8080/jforum/

这样就 OK 啦 :)


下面的修改不知道是什么版本?

1.修改

  1.WEB-INF/config/SystemGlobals.properties
  servlet.extension = .page  -> servlet.extension = .html
  2.WEB-INF/web.xml(两处)
  <url-pattern>*.page</url-pattern> -> <url-pattern>*.html</url-pattern>
  3.src/net/forums/InstallServlet.:
  + "/forums/list.page");  ->  + "/forums/list.html");
  4.src/net//view/forum/PostAction.
  "/posts/list/" + t.getId() + ".page"); -> "/posts/list/" + t.getId() + ".html");
  5.UserInfo.
  "user/profile/"+id+".page"); -> "user/profile/"+id+".html");

2.修改模版文件.htm中.page的链接