File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Products
»
Tomcat
Author
Tomcat version
vicky Aggarwal
Ranch Hand
Joined: May 15, 2009
Posts: 40
posted
Oct 11, 2012 02:28:19
0
Hi,
I have an old application, which runs on a embedded
tomcat
.
I want to know version of used Tomcat.
I tried "javax.servlet.ServletContext.getServerInfo" but it was not supported in used server.
Can any body help me to find out server version.
Thanks in advance.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35252
7
posted
Oct 11, 2012 02:45:26
0
Try running this
JSP
code:
https://www.coderanch.com/how-to/java/WhichVersionAmIRunningOn
. Comment out the parts that do not run :-)
Android apps
–
ImageJ plugins
–
Java web charts
vicky Aggarwal
Ranch Hand
Joined: May 15, 2009
Posts: 40
posted
Oct 11, 2012 03:06:29
0
Thank you for your reply.
I am trying the solution, but if is there any way to same thing using
servlets
?
I agree. Here's the link:
http://aspose.com/file-tools
subject: Tomcat version
Similar Threads
Tomcat Migration (5.0.28 > 5.5)
tomcat vs. jboss?
confused with forwarding request
do not understand compiling a servlet
where to lookout for console messages while working in notepad?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter