In my config I have:

server:
  type: simple
  applicationContextPath: /jtrial/

And I try to get the context path with:

String contextRoot = environment.getApplicationContext().getContextPath();

But this produces "/" instead of "/jtrial/".

How do I get the application context path at runtime?

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" 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.

Reply via email to