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.
How to map a <select> option from a form to an object from an Action?
If you think you've done too much, usually it means you've done too few.
Joined: Jan 03, 2009
How is option mapped to comicsCategory object from my Action? I need to map comicsCategoryId to comicsCategory.setComicsCategoryId() and comicsCategoryName to comicsCategory.setComicsCategoryName(), but, i don't know why, i get comicsCategory.comicsCategoryName = 2 (what is actually 'id').