wood burning stoves 2.0*
The moose likes Struts and the fly likes mapping.findforward not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "mapping.findforward not working" Watch "mapping.findforward not working" New topic
Author

mapping.findforward not working

ketandba shah
Greenhorn

Joined: Feb 05, 2005
Posts: 22
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

Joined: Apr 14, 2005
Posts: 354
define not working in the context of your problem. there are just about a hundred variations of definition to that phrase.


-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: mapping.findforward not working
 
Similar Threads
I am getting error when starting Tomcat .How can I rectify it?
Cannot Find Bean inscope null
mapping.findForward doubt
How to forward to Action class
form values not showing in jsp