Hi All,
I really don't know what is going on ...
I'm developing servlet with jdk1.3 and using tomcat as server. I can't compile my code b'cos i'm getting the following error
Method setAttribute(java.lang.string,java.lang.string)not found in javax.servlet.http.HttpSession
WHY ???
my code can be as simple as that
public void doPost(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException
{
HttpSession session = req.getSession(true);
session.setAttribute("test","test"
}
any ideas ???
thx
funyman
I really don't know what is going on ...
I'm developing servlet with jdk1.3 and using tomcat as server. I can't compile my code b'cos i'm getting the following error
Method setAttribute(java.lang.string,java.lang.string)not found in javax.servlet.http.HttpSession
WHY ???
my code can be as simple as that
public void doPost(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException
{
HttpSession session = req.getSession(true);
session.setAttribute("test","test"
}
any ideas ???
thx
funyman