Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mapping.findforward not working

 
ketandba shah
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is snippet of my struts.config

<form-bean name="PaymentForm" type="com.mcs.irp.presentation.form.PaymentForm">
</form-bean>

......
.......
<action path="/payment_action"
name="PaymentForm"
scope="request"
type="com.mcs.irp.presentation.action.PaymentAction"
input="jsp/payment_form.jsp" >
<forward name="forward_payment_form" path="jsp/payment_form.jsp"/>
<forward name="forward_irp_home_form" path="jsp/irp_home.jsp"/>
</action>

here is the snippet of action class.
******
if(activityName.equals("Payment")){
irpContext.setIrpFunction("account_payment");
irpContext.setMessageToUser("");
System.out.println("******before forward_payment_form");
forward = mapping.findForward("forward_payment_form");


****
snippet of jsp ...

<BODY class="frameBody">
<html:form action="payment_action" method="post" enctype="multipart/form-data">
<TABLE width="100%" class="tdheader_center" border="0" cellpadding="5" cellspacing="0">
<html:hidden property="<%= RequestKeys.ACTION %>" value="paymentAction"/>

****
This find forwad is not working.....

pl. help me....

Thanks in advanced

ketan
 
alan do
Ranch Hand
Posts: 354
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
define not working in the context of your problem. there are just about a hundred variations of definition to that phrase.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic