Hi,
My application has two servlets: a custom servlet with servlet-mapping “rc” , and a Vaadin servlet with mapping “vc”. For all ui requests , the custom servlet would forward to Vaadin servlet to process. If the servlet request is something like: localhost:8080/contextroot/rc/?ui=logon, the process worked well. However, if we changed the request to something like: “localhost:8080/contextroot/rc?ui=logon”, the process failed. After checking the browser debug for the latter case, I found that all external resource loading paths which Vaadin required became something like: “localhost:8080/frontend/bower_components/vaadin-button/theme/lumo/vaadin-button.html”. It seems that all loading paths went up one level directory. I am wondering why is that. Please kindly advise.
Best regards,
Joey