Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Vaadin and Guice

Jan Van Hoecke
1 decade ago Apr 14, 2010 11:09pm
Jan Van Hoecke
1 decade ago Apr 14, 2010 11:26pm

Never mind.

I found the solution here on the Guice-Servlet website. http://code.google.com/p/google-guice/wiki/ServletRegexKeyMapping

Map<String, String> params = new HashMap<String, String>();
params.put("widgetset", "com.ravn.manage.widgetset.ManageWidgetset");

serve("/*").with(MyServlet.class, params)

Thanks for the great product.