An action class contains two methods. One method produce a value which is used by another method. In jsp page I have two buttons. One calls the first method to populate the value. Another button calls second method in the same class and use previously populated value from first method and display values in jsp. But every button click the action class object itself destroyed and create new object for every button click. So the first method values are lost and can not be referred by second method. Please a solution for this.
mercredi 8 juillet 2015
One method populated values to use in another method In struts 2 action class
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire