thanks for the answer, played around with that one. sadly i am not sure that this one satisfies my wishes, as the static field 'input' from the action defined in the struts-config.xml seems to be returned. In my example this would mean (checked this) that i would be able to hardcode on of the 5 input pages as fallback page, which is not what i planned to do.
Any other ideas? :-) Alex ------- Forwarded message follows ------- Send reply to: "Struts Users Mailing List" <[EMAIL PROTECTED]> From: "Deepak" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Howto get ActionForward to calling Page? Date sent: Tue, 5 Aug 2003 16:31:01 +0530 [ Double-click this line for list subscription options ] Try new ActionForward(mapping.getInput()) deepak ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 05, 2003 4:17 PM Subject: Howto get ActionForward to calling Page? > Hi, > > looking for a way to get an ActionForward to the page calling the > current servlet. > > Example: > Want to realize 5-XX pages where to enter values for a > calculation. The calculation & result page would check if > everything entered was fine (using db queries etc..) > Now in case that one of the input values is incorrect / > missmatching the context, I'd like to redisplay the calling page > to the user, showing the values entered before + an error message. > > How can i realize that without having to define specific forwards > to the 5 pages and then deciding which one was the calling one? > > Tried the ActionMapping.getInputForward(), but it brought back > null values in the ActionForward only. > > Comments and keywords to look for welcome. > > Thanks, Alex > > --------------------------------------------------------------------- > 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] ------- End of forwarded message ------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]