Enavigo

Take lemons, make lemonade or Jill and Yuval’s Musings

Enavigo header image 5

Jetty 6 welcome file: how to use a servlet to handle your welcome file

November 21st, 2008 No Comments

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. [...]

Tags:   · · · ·

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:   · · · · · ·

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:   · · · · · · · · · ·