Hi all,
A newbie question. I have an <s:select set like this:
It renders fine on the page. Now I want to retrieve the selected doctor on my next page. But all I'm able to get is a
String, which comes from the listKey. On my nextPage.jsp I have this:
If I change the type from String to Person, like this:
I get a
caused by
I could attach the whole stacktrace but it seems like my question is quite basic and I don't want to spam the post with it. So what's going on? How can I pass the selected Person object from one page to another? Right now I'm using the personID to get the object from the database but it's a bit ridiculous.
Thanks,
Eddy