Hello,
it is now a long time no see ! I was using GrizzlyWebServer in previous version of Grizzly, but I can’t find it anymore (v 2.3.14).
Is renamed or deleted ?
I was trying to achieve something like this :
GrizzlyWebServer grizzly = new GrizzlyWebServer();
ServletAdapter sa;
String servletClassName = "com.vaadin.terminal.gwt.server.ApplicationServlet";
try {
Servlet s = (Servlet)Class.forName(servletClassName).newInstance();
sa = new ServletAdapter();
sa.setServletInstance(s);
} catch (...) {
}
sa.setRootFolder("WebContent");
sa.addContextParameter("productionMode", "false");
sa.setContextPath("/MyApp");
sa.setProperty(ServletAdapter.LOAD_ON_STARTUP, "1");
sa.addInitParameter("application", "my.domain.MyApplication");
grizzly.addGrizzlyAdapter(sa, new String[]{"/MyApp","/VAADIN"});
Thanks for help...