You can't "hide" the port number. A URL isn't primarily something to be displayed, it's something used to make a request. That's why it's called a Uniform Resource Locator.
As Imran has pointed out, you can reconfigure Tomcat to listen on Port 80 - assuming that no other server such as Apache or IIS is using it. However, that's not really "hiding" the port number, just taking advantage of the fact that an HTTP URL has an implied ":80" in in.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Feb 26, 2009
Thanks for your replies...
Actually, I have Apache server configured in Port 80. Therefore when I give, http://localhost/abcd/..../*.jsp it is going to the Apache server. Is it possible to redirect to Tomcat from there?
Traditionally, the way to link up Apache httpd and Tomcat was to use a Tomcat connector such as the coyote/mod_jk connector.
Eventually this is probably going to be phased out, as Apache has been modified to be able to use its mod_proxy module for linking Apache and Tomcat. At the moment, as I understand it, there are still cases where mod_jk is necessary, but I do have one server happily running using mod_proxy.