Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using a webapplication using simple jsp's, servlet and Struts. I am using Jetty 6.1.26 as a webserver. Is it possible for me to shorten the url that i have. For e.g.

I know that i will always be using http://hostname:port/webappname in the begining of each and every resource that i would be accessing.

is it possible for me to just type webappname in the browser address and that will take me to above location?

I think it might be possible by bookmark? but i dont want my each and every client to bookmark page. Is it possible to do above. I was looking at forum and i think proxyPass does something similar? If it is then can someone guide me though how i can use it and if any sample examples would be helpful?

Thanks in advance.

share|improve this question

migrated from Apr 28 '11 at 16:57

This question came from our site for professional and enthusiast programmers.

If you use port 80 instead of some other port you can ommit the port at all. As 80 is the default http port. – cmmi Apr 28 '11 at 13:54

Have a read in the Jetty documentation on Virtual Hosts

share|improve this answer

You must log in to answer this question.