ServletContextHandler servletContextHandler = new ServletContextHandler(ServletContextHandler.NO_SESSIONS);
servletContextHandler.setContextPath("/");
servletContextHandler.setResourceBase("src/ru/yandex/strictweb/example/www-root/");
servletContextHandler.addServlet(new ServletHolder(new DefaultServlet()),"/*");
AjaxService ajaxService = new AjaxService();
ajaxService.setBeanProvider(new BeanProvider() {
public Object getBeanInstance(String beanName) {
try {
beanName = Character.toUpperCase(beanName.charAt(0)) + beanName.substring(1);
return Class.forName(SampleHelperBean.class.getPackage().getName() + "." + beanName).newInstance();
}catch(Throwable th) {