Thanks for your reply.

I executed the JSP with the code which you provided, and the output is:
Major Version:   2
Minor Version:   1
What does this mean? I could not understand what is the version? It should be
something 1.1 or 1.0

Thanks,

Sushil


JSP Insider wrote:

> the application implicit object has methods for this:
>
> example of this is as follows:
>
> <%
>    int li_major = application.getMajorVersion() ;
>    int li_minor = application.getMinorVersion() ;
> %>
>
> Casey Kochmer
> [EMAIL PROTECTED]
> www.jspinsider.com
>
> >From: Sushil Singh <[EMAIL PROTECTED]>
> >Reply-To: A mailing list about Java Server Pages specification and
> >     reference <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: How to know the JSP Version
> >Date: Thu, 28 Sep 2000 10:25:37 -0700
> >
> >Hi,
> >Can anybody tell me how to know the JSP version, is there any method
> >available just like to know the JVM version:
> >System.out.println(System.getProperty("java.version"));
> >Thanks.
> >
> >Sushil
> >
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.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