JAP session problem

K

kahless

I am having problems with gettin a session to work on JSP using
TOMCAT. I have set <%@ Page session = "true" %> at the start, but then
later when I use:

session.setAttribute("usrname", "usrname")

I get an Invalid type expression error.

I don't think I need to use HttpSession as I have already set the
session to true, and when I do it throws up something like it's
already defined.

Thanks for any help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top