Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how do i know the servlet version

 
kiran kumar
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, how do we know the servlet version
 
Kiran Sonaje
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
getMajorVersion()
and getMinorVersion() these 2 methods will tell you the vesion of servlet on which you are working
 
James Carman
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic