Yes, that will work on jetty too. Also, you don't need to add anything to the web.xml, it will work as-is.
I believe there are other ways of doing it (I think there's some xml config you can add to tell it to treat a certain application as the root), but renaming it to ROOT.war is how I've done it. On Thu, Dec 30, 2010 at 5:50 AM, niksami <ni...@fleka.me> wrote: > > Hi guys, > > I have the following problem. I'm developing application in Tapestry > 5.1.0.5, and now when I deploy the app to the server I access it in this > way: http://myApp.com:8080/myApp > > However, now I have to deploy it on the root domain name. So now I need to > access home page of the application in this way: http://myApp.com > > I suppose that changing Jetty's port number from 8080 to 80 would remove it > from URL. But, I don't want to have url look like: > http://myApp.com/myApp/about , it would be much better to look like: > http://myApp.com/about . > > I read some topics here, and in one > http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=90748 > Steve Shucker says that (on Tomcat server) I only need to rename my WAR > file to ROOT.war and to add > <welcome-file-list> > <welcome-file>myApp</welcome-file> > </welcome-file-list> > in web.xml. > > Will that work on Jetty too? Is this the best way to resolve my problem? > > Regards. > > ----- > Niksa Mijanovic > Java developer, jr. > www.fleka.me > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/T5-Removing-project-name-and-port-number-from-URL-tp3322312p3322312.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org