Any suggestions on how I should proceed? Thanks everyone.
If you want the value of the cookie, check its javadoc to see how to get that.
Bear Bibeault wrote:Well, you are trying to assign a Cookie instance to a String reference, so yes, you can't do that.
Yea, unfortunately I'm realizing that now.
I've been trying to follow examples like these:
But apparently they are wrong.
Bear Bibeault wrote:And for the love of all that is good, update your JSP knowledge! Using Java code in a JSP is a bad bad practice that is almost a decade out of date!
It's no longer 2001 -- time to stop writing JSP as if it is.
I'm just now starting to learn, so there isn't really anything to update
What is considered the correct practice currently?