Frage

I am trying to prevent the values of my select boxes on a jsp page being reset in struts 1. Not necessarily with new forms that are yet to submit the captured data, but forms filled from stored objects have their select fields reset to defaults which is causing undesirable effects to workflow as assumptions were being made that the values were kept. I have found nothing so far in my search and would appreciate pointers/help.

War es hilfreich?

Lösung

Found it!! Setting the action that populates the JSP to session scope in the struts-config.xml action mapping solved my problem.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top