How to add new servlet to Cuba Platform

I wan to add new servlet to cuba application. I follow documentation section 3.10.4. Registration of Servlets and Filters.

But I didn’t succeed. Every time I got 404 HTTP error. My url was: http://localhost:8080/RunICC.

I attached a source code. I added classes to web module.

servlets.zip (1.1 KB)

Hello @haattila

Newly registered servlet mappings are appended to the application context. So if application context is /app, and new mapping is myservlet, servlet will be available at /app/myservlet.

I’ve filed an issue to clarify this moment in documentation: GitHub

Regards,
Daniil