Exemplo n.º 1
0
 static {
   ResourceBundle resourceBundle = null;
   try {
     resourceBundle = ResourceBundle.getBundle("common.drfirst");
   } catch (MissingResourceException e) {
   }
   try {
     m_AppPath = resourceBundle.getString("signature_form_app_path");
   } catch (Exception e) {
     System.out.println("Error when getting the resource bundle " + e);
   }
   try {
     m_DrFirstLogoPath = SystemProperties.getPropertyValue("signature_form_drfirst_logo");
     m_DrFirstPhone = SystemProperties.getPropertyValue("signature_form_drfirst_phone");
   } catch (Exception e) {
   }
   try {
     m_Fax = SystemProperties.getPropertyValue("signature_form_fax");
   } catch (Exception e) {
   }
   try {
     UserValidationBean uBean = new UserValidationBean();
     SERVER_PREFIX = uBean.getServerPrefix();
     uBean = null;
   } catch (Exception e) {
   }
 }