"Craig R. McClanahan" wrote:
>
> Irfan Mohammed wrote:
>
> > It means that you are working with version 2.1
> > Irfan
> >
>
> More completely, it means you are working with *servlet* version 2.1.  There is not
> really an analogous call for the JSP version -- you might try telling us what
> server software you are running.

Well, there is an analogous call for the JSP version, even though it is well
hidden:

<%= JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() %>

See the JspFactory and JspEngineInfo classes in the JSP specification for
details.

Hans
--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.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

Reply via email to