dcsimg

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.