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
Adding Jetty 6 to Eclipse as a server runtime and overcoming the NullPointerException on Launch
November 21st, 2008 No Comments
I love Jetty. It is small, it is very fast and once you use it you start pondering why you use Tomcat. The reason in most cases is that you know Tomcat and it is relatively very well documented. Jetty is not as well documented but well worth the effort. One thing that Tomcat has [...]
Tags: 2.0.2 · eclipse · Java · jetty · NullPointerException · Server Runtime · WTP
Deploying a web application to Jetty
August 29th, 2008 4 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 their [...]
Tags: context · context.xml · http · Java · jetty · jsp · tomcat · web application server · web application · web.xml · XML