I am using server configuration in yml file which looks like as below
server: type: simple connector: type: http port: 8061 applicationContextPath: /administration adminContextPath: /admin #disable the registration of default Jersey ExceptionMappers registerDefaultExceptionMappers: false I want to get "applicationContextPath" when I start my dropwizard service. I am trying to get it using environment.getApplicationContext().getContextPath(); but I am getting "/" i.e. default value. Is there anyway to get this. -- 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.
