Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Struts action forward is NULL

807591May 11 2008 — edited May 13 2008
Hi,
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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 10 2008
Added on May 11 2008
4 comments
591 views