JForum安装问题

running2046 2006-02-28 11:03:00
http://dev.csdn.net/article/33/33178.shtm

按照上面的

其他都配置好了 数据库什么的都好了

就是出现这样的问题

HTTP Status 404 - /jforum/install/install.page

--------------------------------------------------------------------------------

type Status report

message /jforum/install/install.page

description The requested resource (/jforum/install/install.page) is not available.


--------------------------------------------------------------------------------

Apache Tomcat/5.5.15


目录里没有install/install.page这个啊

怎么办啊
...全文
399 点赞 收藏 7
写回复
7 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
my_sunway 2006-03-02
你在web.xml中看到了这样的代码了没有
<servlet-mapping>
<servlet-name>jforum</servlet-name>
<url-pattern>*.page</url-pattern>
</servlet-mapping>
这样你的目录下面没有install.page这个文件是对的,应该有install.jsp这个文件。
你还应该把所有的*.jar放到web-inf/lib中
其实jforum很好配置的。
回复
rko 2006-03-02
项目需要,目前小弟也在寻找一个jsp开源的论坛,哪位大侠推荐个~~~~~~~
回复
running2046 2006-03-02
或者大家推荐一些其他开源论坛给我吧
回复
running2046 2006-03-02
谢谢各位了
回复
running2046 2006-03-02
哈哈~~

终于搭建起来了~~

原来是路径放错了~~

应该是和ROOT平行的
回复
running2046 2006-03-01
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_4.dtd">

<web-app>
<display-name>JForum - Powering Communities</display-name>
<description>Open Source Java Forum Software</description>

<!-- Clickstream -->
<filter>
<filter-name>clickstream-jforum</filter-name>
<filter-class>net.jforum.util.legacy.clickstream.ClickstreamFilter</filter-class>
</filter>

<filter-mapping>
<filter-name>clickstream-jforum</filter-name>
<url-pattern>*.page</url-pattern>
</filter-mapping>

<listener>
<listener-class>net.jforum.ForumSessionListener</listener-class>
</listener>

<!-- JForum Controller -->
<servlet>
<servlet-name>jforum</servlet-name>
<servlet-class>net.jforum.JForum</servlet-class>

<init-param>
<param-name>development</param-name>
<param-value>true</param-value>
</init-param>
</servlet>

<!-- Installer -->
<servlet>
<servlet-name>install</servlet-name>
<servlet-class>net.jforum.InstallServlet</servlet-class>

<init-param>
<param-name>development</param-name>
<param-value>true</param-value>
</init-param>
</servlet>

<!-- AJAX -->
<servlet>
<servlet-name>dwr-invoker</servlet-name>
<servlet-class>uk.ltd.getahead.dwr.DWRServlet</servlet-class>

<init-param>
<param-name>configJForum</param-name>
<param-value>WEB-INF/dwr-jforum.xml</param-value>
</init-param>

<init-param>
<param-name>debug</param-name>
<param-value>false</param-value>
</init-param>
</servlet>

<!-- Mapping -->
<servlet-mapping>
<servlet-name>install</servlet-name>
<url-pattern>/install/install.page</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>dwr-invoker</servlet-name>
<url-pattern>/dwr/*</url-pattern>
</servlet-mapping>

<servlet-mapping>
<servlet-name>jforum</servlet-name>
<url-pattern>*.page</url-pattern>
</servlet-mapping>

<!-- SESSION -->
<session-config>
<session-timeout>10</session-timeout>
</session-config>

<welcome-file-list>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>

<!-- SSO -->
<!-- Example of SSO configuration -->
<!--
<security-role>
<role-name>user</role-name>
</security-role>

<security-constraint>
<web-resource-collection>
<web-resource-name>Restricted Area</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>

<auth-constraint>
<role-name>user</role-name>
</auth-constraint>
</security-constraint>

<login-config>
<auth-method>BASIC</auth-method>
<realm-name>REALM NAME HERE</realm-name>
</login-config>
-->
</web-app>
回复
yingtju 2006-03-01
看看他的web.xml中servlet是怎么定义的
回复
相关推荐
发帖
Web 开发
创建于2007-09-28

8.0w+

社区成员

Java Web 开发
申请成为版主
帖子事件
创建了帖子
2006-02-28 11:03
社区公告
暂无公告