getInputForward() returns the ActionForward for your input page. Steve
> -----Original Message----- > From: Fedor Smirnoff [mailto:[EMAIL PROTECTED] > Sent: July 1, 2003 11:57 AM > To: Struts Users Mailing List > Subject: findForward question > > > Hey guys I am abit confused about using findForward. I > have tried several different apporaches and for some > reason one of them doesnt work and the other two do > work. However, I think its the best to use the first > one since it doesnt not create a new ActionForward: > > return actionMapping.findForward > actionMapping.getInput()); - this one doesnt work > > return (new ActionForward(actionMapping.getInput())); > this one works fine > > return actionMapping.findForward("Success"); - this > one works fine with struts cofing: > > <forward name="Success" path="/admin/newTemplate.jsp" > redirect="true"/> > > > > Is the difference between those methods in redirect or > forward, please explain I am confused in that case why > forward wouldnt work. > > > ===== > Sincerely, > Fedor Smirnoff > Sun Certified Java Programmer > http://www.olnix.com > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]