You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Naresh Sharma <Na...@KeaneIndia.Com> on 2004/06/01 17:52:59 UTC
DispatchAction URL
Hi,
I am using DispatchAction class and trying to invoke my method using
following URL, but WL 8.1 is giving HTTP 404 error.
http://localhost:7001/abcSet/history?method=executeHistoryEdit/
<http://localhost:7001/abcSet/history?method=executeHistoryEdit/>
abcSet is my app. Context root. And "history" is path as specified in
struts-config.xml
<action path="/history"
type="com.abc.abcset.common.action.HistoryAction"
scope="request"
input="/startPage.jsp"
validate="false"
parameter="method">
<forward name="HistorySuccess" path="/welcome.jsp" redirect="false"/>
Is there any other way DispatchAction URL needs to be framed?
Regards
Naresh
Re: DispatchAction URL
Posted by David Erickson <de...@cmcflex.com>.
What is your url-matching you are doing with your Action servlet in web.xml? if your matching *.do you may need history.do in there. Also remove that trailing / from the end of your url.
-David
----- Original Message -----
From: Naresh Sharma
To: user@struts.apache.org
Sent: Tuesday, June 01, 2004 9:52 AM
Subject: DispatchAction URL
Hi,
I am using DispatchAction class and trying to invoke my method using following URL, but WL 8.1 is giving HTTP 404 error.
http://localhost:7001/abcSet/history?method=executeHistoryEdit/
abcSet is my app. Context root. And "history" is path as specified in struts-config.xml
<action path="/history"
type="com.abc.abcset.common.action.HistoryAction"
scope="request"
input="/startPage.jsp"
validate="false"
parameter="method">
<forward name="HistorySuccess" path="/welcome.jsp" redirect="false"/>
Is there any other way DispatchAction URL needs to be framed?
Regards
Naresh
------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org