HttpSession::getMaxInactiveInterval method not found
Hi,
I am trying to run a servlet on iPlanet Web Server 4.1 SP7.
The servlet uses the getSession methods to access the session data. However, when I make the getSession call, an exception is thrown from NSHttpServletRequest indicating that the method HttpSession::getMaxInactiveInterval() cannot be found.
(See below for stack trace.)
Has anyone come across anything similar?
Thank-you,
Mike
Internal error: exception thrown from the servlet service function (uri=/MyServlet): java.lang.NoSuchMethodError: javax.servlet.http.HttpSession: method getMaxInactiveInterval()Inot found, stack: java.lang.NoSuchMethodError: javax.servlet.http.HttpSession: method getMaxInactiveInterval()I not found
at com.netscape.server.http.servlet.NSHttpServletRequest.getSession(Compiled Code)
at com.mrn.app.MySessionServlet.checkSessionData(MySessionServlet.java:89)
at com.mrn.app.MySessionServlet.doGet(MySessionServlet.java:110)
at com.mrn.app.MyServlet.doGet(MyServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:507)

