|
I want to use the select drop-down list box in the page, where the content in the list box is obtained from the previous forwarding action querying the database and put into the list, and then passed to the page to construct this drop-down list, because this list is placed in In the request, after using the verification framework, after the verification fails, when returning to the page specified by input, that is, the page before submission, the contents of the list are gone, and an error is reported when the select is constructed. There is also a variable to be passed to the action in this page. In the previous forwarding action, I also put it in the request as an attribute (that is, this variable and select I put in the request in the previous action). Hit, when I came to this page, I used it for construction), but when I returned to this page after the verification failed, because it was a request, I could not get the value in it. There is no other way to change this scope to session. Thank you! |
|