hey i have tried it on myself by creating a method which returns a String, has response.senRedirect("google.com") before return... then i called this method from execute method... it gives no respect to my call.. also i have put redirect method in many places of execute method, its not at all redirecting......simply skipping that line?
So you returned a String from a method separate from the execute method called by Struts?? The method called by struts should return null. It would be better if you show us some code to make it easier to understand your problem...
Prakash Mani - Attur
Joined: Oct 08, 2009
Ankit, see my code below...
the test method is given below..
its not at all executing the 4th and 5th line of the submit method...