File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes how do i know the servlet version Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "how do i know the servlet version" Watch "how do i know the servlet version" New topic
Author

how do i know the servlet version

kiran kumar
Greenhorn

Joined: Feb 07, 2005
Posts: 29
Hi, how do we know the servlet version
Kiran Sonaje
Greenhorn

Joined: Aug 23, 2004
Posts: 23
getMajorVersion()
and getMinorVersion() these 2 methods will tell you the vesion of servlet on which you are working
James Carman
Ranch Hand

Joined: Feb 20, 2001
Posts: 580
Originally posted by Kiran Sonaje:
getMajorVersion()
and getMinorVersion() these 2 methods will tell you the vesion of servlet on which you are working


Of course those methods are on the ServletContext interface.


James Carman, President<br />Carman Consulting, Inc.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how do i know the servlet version
 
Similar Threads
About the web.xml
Servlet Api?
JSP & Servlet Version
SCWCD Forum FAQ's....................
servlet version