Use module configuration in DXA Java
<jsp:useBean id="localization" type="com.sdl.webapp.common.api.localization.Localization" scope="request"/>
${localization.getConfiguration("module.param1")}
Localization localization = this.webRequestContext.getLocalization();
String pageUrlPattern =localization.getConfiguration([module name] + "." + [parameter name]);