Pergunta

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.

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top