标题:大家帮帮忙,Struts分页,提示这个是什么原因啊。
取消只看楼主
qxhan1128
Rank: 1
等 级:新手上路
帖 子:31
专家分:0
注 册:2006-4-25
 问题点数:0 回复次数:2 
大家帮帮忙,Struts分页,提示这个是什么原因啊。

TTP Status 400 - Invalid path /search was requested

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

type Status report

message Invalid path /search was requested

description The request sent by the client was syntactically incorrect (Invalid path /search was requested).


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

Apache Tomcat/5.0.30


搜索更多相关主题的帖子: Struts requested Invalid 提示 
2007-02-05 16:06
qxhan1128
Rank: 1
等 级:新手上路
帖 子:31
专家分:0
注 册:2006-4-25
得分:0 

struts-config.xml 配置文件
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">

<struts-config>
<data-sources />
<form-beans >
<form-bean name="searchForm" type="struts.form.SerachForm" />
</form-beans>


<global-exceptions />
<global-forwards >

</global-forwards>


<action-mappings >
<action
attribute="searchForm"
input="/form/serach.jsp"
name="searchForm"
path="/search"
scope="session"
type="struts.action.SerachAction">
<forward name="search" path="/form/serach.jsp" />
</action>
</action-mappings>
<message-resources parameter="com.yourcompany.struts.ApplicationResources" />
</struts-config>

2007-02-05 16:15
qxhan1128
Rank: 1
等 级:新手上路
帖 子:31
专家分:0
注 册:2006-4-25
得分:0 

真郁闷,源代码贴不上来.

2007-02-05 17:46



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-119751-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.452450 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved