Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

command to know the version of Servlets and JSP's

 
santhosh.R gowda
Ranch Hand
Posts: 296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all
As we know the command Java -version to know the version of JSDK is there any command to know the servlets and Jsp version that we are using or is there any other way to know the version with out running Jsp or servlets
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
santhosh.R gowda wrote:As we know the command Java -version to know the version of JSDK is there any command to know the servlets and Jsp version that we are using or is there any other way to know the version with out running Jsp or servlets


I'm not aware of such command . The way to check which version (that is ofcourse which version the container implements) is from the container's documentation which lists what specifications it implements.
 
santhosh.R gowda
Ranch Hand
Posts: 296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree; you just need to check your app server's support.

Creativity is nothing but Breaking Rules

Or finding ways to work within them; after all, one can write creative Java programs.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64985
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you checked the APIs?
 
santhosh.R gowda
Ranch Hand
Posts: 296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ya i checked the servlet-api there i decompiled the class file but i didn't get the details so run my tomcat http://localhost::8080 and i got there itself only can you tell me to know how to get with out running tomcat
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Each version of Tomcat supports a specific Servlet/JSP version.

There's a link to it right off the Tomcat home page: http://tomcat.apache.org/whichversion.html

I have to think it would have been quicker to check the Tomcat site and/or use Google.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic