top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to get the server information in a servlet?

0 votes
429 views
How to get the server information in a servlet?
posted Sep 12, 2017 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

We can use below code snippet to get the servlet information in a servlet through servlet context object.

getServletContext().getServerInfo()
answer Sep 13, 2017 by Ayush Srivastav
...