Hi
I am using :
Redhat 9
Apache 2.0.48
Tomcat 4.1.29
Struts 1.1
For some reason I am not getting any errors and control is not getting forwarded
to respective success forward from DummyAction.
Any help is appreciated.
Regards
Ajay Kalidindi
config and source follows:
struts-config.xml entry:
<action-mappings>
<action path="/Menu" type="com.kalidindis.home.DummyAction" >
<forward name="success" path="/common/menu.jsp"/>
</action>
</action-mappings>
DummyAction.java :
package com.kalidindis.home;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.*;
import org.apache.struts.action.*;
import org.apache.struts.util.*;
/**
* Implementation of <strong>Action</strong> that lists contacts of Ajay
Kalidindi.
*/
public final class DummyAction extends Action {
public ActionForward perform(ActionServlet servlet,
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
return (mapping.findForward("success"));
}
}