HI,
I am getting a problem in using looup dispatch class.
I am merging my application A to anothe application B. I made my struts config entry into application B web.xml.
When I am invoking the an action handler it is throwing Struts error...does not contain handler parameter named dispatch
<P>
---Web.xml entry---
<!-- Servlet for Struts -->
<servlet>
<servlet-name>struts</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>
/WEB-INF/struts-config.xml,
/WEB-INF/struts-config-bid.xml
</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
---Struts config Action mapping---
<action
path="/bid/RFxAction"
validate="false"
parameter="dispatch"
attribute="RFxForm"
name="RFQForm"
type="com.rfx.action.RFxAction">
<forward name="success" path="/bid/Summary.jsp" />
</action>
----Action Class Calling----
function openBidWindow()
{
window.open("/action/bid/RFxAction?dispatch=RFQ.read&oid=13");
}
<input type="radio" name="list" value='123' onclick="openBidWindow()">
When i click the radio buttion I am getting "Request does not contain handler parameter named dispatch" error.
Here I observerd one thing.. If I subclass my class with Action Servlet, I am getting all request parameters, but same this failing when is I am subclassing LookupDispatchAction.
Could any body help in this regards....
-Hari
-
Struts LookupDispathAction Problem (1 messages)
- Posted by: hari krishna
- Posted on: April 02 2004 13:24 EST
Threaded Messages (1)
- Struts LookupDispathAction Problem by Li Ping on April 29 2004 03:15 EDT
-
Struts LookupDispathAction Problem[ Go to top ]
- Posted by: Li Ping
- Posted on: April 29 2004 03:15 EDT
- in response to hari krishna
could you show your complete subclass?