I ‘ported’ my Java web application from Tomcat to Jetty. Like any web application, I defined a ‘welcome file’ in the application’s web.xml file. The welcome-file directive specifies the URL to be loaded by default when someone requests the root of your application. The welcome file may be just a file or a JSP, e.g. [...]
Jetty 6 welcome file: how to use a servlet to handle your welcome file
November 21st, 2008 No Comments
Tags: Java · jetty · servlet · web.xml · welcome-file
Deploying a web application to Jetty
August 29th, 2008 5 Comments
The Jetty web application server is great. It is just not very well document and when it is documented it is aimed for the very uninitiated. If you’re using Jetty, it is almost like an old boys club – ‘you made it’. Still, it appears that Jetty and Tomcat are becoming much more similar in [...]
Tags: context · context.xml · http · Java · jetty · jsp · tomcat · web application server · web application · web.xml · XML
Setting up Spring MVC welcome page without rewrites or redirection
May 23rd, 2008 No Comments
So you have a Spring MVC web application and want to make sure that when the user enters a URL such as http://www.myawesomedomain.com he/she will see the home page of your application. How do you get Spring MVC’s RequestDispatcher servlet, which acts as the traffic cop and then some for your web application, to act [...]
Tags: default page · index · redirect · root · Spring MVC · web.xml · welcome page