Hi,
Sorry , for the mistake. I am usin 'Pure Jsp' by James Goodwill
which mentions
getMaxIntervalTime() method under HttpSession page 284. Any reasons
why it was included there.
Regards,
John.
Scott Evans <[EMAIL PROTECTED]>@java.sun.com> on 11/09/2000 08:46:03
PM
Please respond to A mailing list about Java Server Pages specification
and reference <[EMAIL PROTECTED]>
Sent by: A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
Subject: Re: Method getMaxIntervalTime() not found in interface
javax.serv let.http.HttpSession
According to the javadocs you should be using:
session.getMaxInactiveInterval() and
session.setMaxInactiveInterval(int
seconds)
The javadocs are always the first place I look when I seek a method
name,
especially if I receive that exception. They are a great resource and
benefit of Java that you should get comfortable using. Often I use the
javadocs only when I learn a new Java API.
Scott
-----Original Message-----
From: <John Thomas> [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 4:55 PM
To: [EMAIL PROTECTED]
Subject: Method getMaxIntervalTime() not found in interface
javax.servlet.http.HttpSession
Hi,
This is the error i am getting for the code in jsp file. the
problem is to set or view max interval time for sessions.
<HTML>
<HEAD>
<TITLE>
User Name
</TITLE>
</HEAD>
<BODY BACKGROUND="images/Backgrnd.gif">
<% out.println(session.getMaxIntervalTime()); %>
</body
</head>
The error msg is
<<<Method getMaxIntervalTime() not found in interface
javax.servlet.http.HttpSession.
out.println(session.getMaxIntervalTime()); >>>
Pls help.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets