I've just started trying to incorporate EL/JSTL into my coding, so bear with me, as I had trouble finding documentation on my problem. I have a List stored as a session attribute under the name "dates". For example:
I have a typical HTML select that dates is supposed to populate:
As you can see, when a date is chosen, the JavaScript submits the form and I handle it like this:
That already works. The only functionality I'm trying to add is to cause the option that was selected to be selected once the page comes back. I'm not sure how to do the
String comparison between date and currentDate. Here's the message from the JasperException I get when I try to load the page:
When I try to change it to date.equals(currentDate) instead of date == currentDate, I get this message:
Thanks for any pointers...
[ August 11, 2005: Message edited by: Stephen Huey ]