Dear all,
I am developing an application using
Struts.
I have problem when I want to forward my process from one dispatch action to another dispatch action.
I have mypage.jsp, MyForm.java, MyFirstDispatchAction.java and MySecondDispatchAction.java
When user clicks on submit button on mypage.jsp, all properties inside html:form will be copied into MyForm.java by Struts Framework and after that send request to MyFirstDispatchAction.java.
The code of MyFirstDispatchAction.java and MySecondDispatchAction.java like :
My struts-config.xml likes :
And the problem is when I print the values of form..
I cannot get the new values which is inserted or updated in MyFirstDispatchAction...
I always get the values which are same with the value from mypage.jsp
Why does it happen? Are there something wrong with my process?
Correct me if I am wrong...
thank you very much
daniel