Hi, I have 4 jsp files using one action class and action class forwards to the page which called this action class.Becoz i would like user to go back to same page from which he visited.
Can i avoid writing 4 action mappings and all 4 mappings have only same action class but forward value is different to each. First.jsp calls /first.do <action path="/first" type="MyCentral" > <forward name="success" path="/First.jsp" /> </action> Second.jsp calls /second.do <action path="/second" type="MyCentral" > <forward name="success" path="/Second.jsp" /> </action> Third.jsp calls /third.do <action path="/third" type="MyCentral" > <forward name="success" path="/Third.jsp" /> </action> Fourth.jsp calls /fourth.do <action path="/fourth" type="MyCentral" > <forward name="success" path="/Fourth.jsp" /> </action> In all above action mappings the action class is same but only path and success pages are different, Is there any technique to change these paths and forward paths dynamically. TIA Yaman -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>