Is it possible to view which web server or servlet engine is used: IIS, iPlanet etc. on a JSP page? Just like System.getProperty(os.name) for the operating system?

Bogdan Sheptunov

Try this:

<%= application.getServerInfo() %>
That should print out the name and version of the servlet container on which the JSP page is running.
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact