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.
I know similar questions have been asked before, and I apologize, but I wasn't able to figure my problem out based on those.
I need to modify existing JSP code to have an option from a selection box be selected by default. The code I am using looks like this:
This code successfully creates the selection box and populates it accordingly, but it does not set any option as selected. The option I want to set as selected is exactly the "selDate" variable (pulled down from "pref" in the URL).