Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Wiki
Search Coderanch
Advance search
Google search
Register / Login
Bookmark Topic
Watch Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Wiki
Which Version Am I Running On
posted 8 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Here's a snippet of
JSP
code that displays the
Servlet
API version, the JSP version, the JRE version and also the name and version of the servlet container (taken from a
Saloon post
by Bauke Scholtz).
Server info: <%= application.getServerInfo() %><br> Servlet version: <%= application.getMajorVersion() %>.<%= application.getMinorVersion() %><br> JSP version: <%= JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() %><br> Java version: <%= System.getProperty("java.version") %><br>
JspFaq
ServletsFaq
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
JSP's dynamic content not getting displayed
JSP - Bad version number in .class file
How do I choose my JSP version?
error-page element not working in web.xml
The value for the useBean class attribute *class* is invalid.
More...