Struts action forward is NULL
807591May 11 2008 — edited May 13 2008Hi,
I have a Index jsp page. Ihave defined IndexAction as action class for this. I have defined it as <welcome-file> in web.xml.
Also I have action tab in struts-config file:
<action path="/index" type="com.cec.cll.webclient.logical.clr.actionclass.IndexAction" scope="request" validate="false">
< forward name="index" path="/index.jsp"/> </action>
So when I open my application and this jsp page, it goes to action class and fetch the results from database but when action class return the forward, its coming NULL.
:
forward = mapping.findForward("index");
I could not find why it is not getting mapping for index . Any ideas?