harieskrish
Programmer
HI,
I am getting a problem in using LookupDispatchAction class.
I am merging my application A to another 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>
<p>
---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>
<p>
----Action Class Calling----
function openBidWindow()
{
window.open("/action/bid/RFxAction?dispatch=RFQ.read&oid=13");
}
<input type="radio" name="list" value='123' onclick="openBidWindow()">
<p>
When i click the radio buttion I am getting "Request does not contain handler parameter named dispatch" error.
<p>
Here I observed one thing.. If I subclass my class with Action Servlet, I am getting all request parameters, but same this failing when is I am sub classing LookupDispatchAction.
Could any body help in this regards....
-Hari
I am getting a problem in using LookupDispatchAction class.
I am merging my application A to another 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>
<p>
---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>
<p>
----Action Class Calling----
function openBidWindow()
{
window.open("/action/bid/RFxAction?dispatch=RFQ.read&oid=13");
}
<input type="radio" name="list" value='123' onclick="openBidWindow()">
<p>
When i click the radio buttion I am getting "Request does not contain handler parameter named dispatch" error.
<p>
Here I observed one thing.. If I subclass my class with Action Servlet, I am getting all request parameters, but same this failing when is I am sub classing LookupDispatchAction.
Could any body help in this regards....
-Hari