>>>>> Steinar Bang <[email protected]>: > Ie. it used to be http://localhost:8181/ukelonn but is now > http://localhost:8181/
> Is there a way to bring the web-context path back? Or will the > web-context path only work when using an OSGi-war? [snip!] > For the VAADIN servlet to work, it has to be registered with the path > "/*" (if not it can't fetch its CSS and .js files and images). Ie. I > can't register the servlet as "/ukelonn/*". Now I'm back in http://localhost:8181/ukelonn (and I'm running from a jar OSGi bundle without a web.xml and without the war layout) https://github.com/steinarb/ukelonn/tree/using-vaadin/ukelonn.bundle What I did was register the following paths: final String registrationPath = "/ukelonn/*"; final String[] urlPatterns = { registrationPath, "/VAADIN/*" }; On my first try I had used "/ukelonn*", "/VAADIN*", and that didn't work. But putting the * behind a "/" worked. -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
