• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

mapping.findforward not working

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 354
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Forget Steve. Look at this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic