I'm not sure if the
Struts forum is the appropriate folder for this, so since I think the problem is is happening in my DAO class, I'll post it here. I'm trying to create a poll where the user sees it in the
JSP if he hasn't voted. Once he does vote, his vote is processed and a cookie is sent back to tell the JSP to show the results rather than the ballot. The tag that is supposed to read the cookie is returning a NullPointerException, which I've traced to the line
HttpSession currentSession = (HttpSession) request.getSession();. Here is my DAO's code so you can see everything in context. Any help out there?