Complete sentences. Less confuse.
You need a proxy to do that. Because
J2EE permits more than one webapp to be contained in a single server, the next level of the URL must tell which webapp to send the URL to. This is known as the
application context There is a
root context, which can handle URLs in the form
http://server:port/pageurl, but that is not redirection and for many servers, there is already a default application located at the root context URL that must be removed before you can deploy your own application there.
Also, standard warning: user-login == hacked.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.