Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Wiki
Search Coderanch
Advanced 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:
Devaka Cooray
Campbell Ritchie
Tim Cooke
Ron McLeod
Liutauras Vilda
Sheriffs:
Junilu Lacar
paul wheaton
Paul Clapham
Saloon Keepers:
Piet Souris
Bartenders:
Forum:
Wiki
Which Version Am I Running On
posted 10 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
Consider Paul's
rocket mass heater
.
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...