You can use telnet on port 8080 (assuming tomcat listens on that port):
Code:
telnet localhost 8080
then write:
and watch the first few lines of the response
Or with nmap, like:
Code:
nmap -sV localhost -p 8080
If you want to suppress the version info from the error page, read
this
Regards