aspose file tools*
The moose likes Servlets and the fly likes command to know the version of Servlets and JSP's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "command to know the version of Servlets and JSP Watch "command to know the version of Servlets and JSP New topic
Author

command to know the version of Servlets and JSP's

santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
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


Creativity is nothing but Breaking Rules
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3832

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.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
Thanks for reply
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Jan 10, 2002
Posts: 61227
    
  66

Have you checked the APIs?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
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

Joined: Sep 29, 2008
Posts: 12617

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: command to know the version of Servlets and JSP's