dev@jersey.java.net

Starting a Web-App with the GrizzlyWebContainer

From: Wolf, Timo <timowolf_at_siemens.com>
Date: Tue, 13 Apr 2010 11:39:56 +0200

Hi,

For testing, I used to start my jersey based web service with the GrizzlyWebContainerFactory as shown in all the samples.

...
SelectorThread threadSelector = GrizzlyWebContainerFactory.create(BASE_URI, initParams);
...


Now, I had to add some JSPs and css stylesheet files to the web-app. These files are not accessible when using the GrizzlyWebContainerFactory as before.

Is there a way to bundle the whole web-app (including the web.xml) from Java and start it with the GrizzlyWebContainerFactory?

Thanks a lot,

Best,
Timo