File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "mapping.findforward not working" Watch "mapping.findforward not working" New topic

mapping.findforward not working

ketandba shah

Joined: Feb 05, 2005
Posts: 22
here is snippet of my struts.config

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

<action path="/payment_action"
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"/>

here is the snippet of action class.
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

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="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: mapping.findforward not working
It's not a secret anymore!