This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
This could be a naive one. But, moderator please, understand that I'm starting struts.
I'm having a page, lets call A where user selects something and submits. My action class collects those values and fetches some records from DB based on the values collected from A, and the is displayed as table in success page B.
Now, I want to collect some information from this success page B [specifically, I want to update some selected records in that table with a check-box value that user provides]. Have a form and collect some values from B and send it to action class and update the database. I hope the use case is clear. Is it possible to do this in struts ?Because, when I coded to have form with submit button in page B, the submit button was not displayed. I'm doubtful if this can be done. Suggestions are welcome. Also, is it possible to send selected table contents over Form to Action class.
Sowmya Ramnath wrote:when I coded to have form with submit button in page B, the submit button was not displayed.
I have seen problems with "wizard" type workflows where the URL does not get changed and the second page wants to submit to the first action. If a button isn't getting displayed, that sounds like an HTML coding error.