ServletContext.getMajorVersion() and ServletContext.getMinorVersion().

Servlet 2.2 supports getAttribute/setAttribute on all of:  ServletContext (context
attributes == application scope beans in JSP), HttpSession (session scope beans in
JSP), and ServletRequest (request scope beans in JSP).

Craig McClanahan


sajeev anand wrote:

> Hi
>
> Just curious, is there any way of finding out the
> version of Servlet API that is being used? I am using
> JRun on Netscape server. If I understand right,
> Servlet 2.2 does not understand setAttribute() and
> getAttribute() methods. Am I right?
>
> Thanks
>
> Sajeev
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
> ===========================================================================
> 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

Reply via email to