diff --git a/trunk/AnaliseAcidentesTrabalho/src/java/db/Db.java b/trunk/AnaliseAcidentesTrabalho/src/java/db/Db.java index a0386180..9580e032 100644 --- a/trunk/AnaliseAcidentesTrabalho/src/java/db/Db.java +++ b/trunk/AnaliseAcidentesTrabalho/src/java/db/Db.java @@ -21,8 +21,8 @@ import javax.servlet.http.HttpSession; * @author lluis */ public class Db { - String connectionURL = "jdbc:postgresql://storage:5432/siprp"; //testes - //String connectionURL = "jdbc:postgresql://localhost:5436/siprp"; //real + //String connectionURL = "jdbc:postgresql://storage:5432/siprp"; //testes + String connectionURL = "jdbc:postgresql://localhost:5436/siprp"; //real String User = "postgres"; String Pass = null; Connection connection = null; diff --git a/trunk/AnaliseAcidentesTrabalho/src/java/db/Dblocal.java b/trunk/AnaliseAcidentesTrabalho/src/java/db/Dblocal.java index 68aff301..565bfe3f 100644 --- a/trunk/AnaliseAcidentesTrabalho/src/java/db/Dblocal.java +++ b/trunk/AnaliseAcidentesTrabalho/src/java/db/Dblocal.java @@ -21,8 +21,8 @@ import javax.servlet.http.HttpSession; * @author lluis */ public class Dblocal { - String connectionURL = "jdbc:postgresql://storage/siprp_local"; //testes - //String connectionURL = "jdbc:postgresql://localhost:5436/siprp_local_3"; + //String connectionURL = "jdbc:postgresql://storage/siprp_local"; //testes + String connectionURL = "jdbc:postgresql://localhost:5436/siprp_local_3"; String User = "postgres"; String Pass = null; Connection connection = null; diff --git a/trunk/AnaliseAcidentesTrabalho/src/java/global/Global.java b/trunk/AnaliseAcidentesTrabalho/src/java/global/Global.java index 68ed20c5..f068a420 100755 --- a/trunk/AnaliseAcidentesTrabalho/src/java/global/Global.java +++ b/trunk/AnaliseAcidentesTrabalho/src/java/global/Global.java @@ -70,8 +70,8 @@ public class Global { //public static final String PLANOS_ACTUACAO_URL = "http://localhost:8084/PlanosActuacao/faces/ListaPlanos.jsp"; //testes - public static final String PLANOS_ACTUACAO_URL = "http://192.168.111.24:8084/PlanosActuacao/faces/ListaPlanos.jsp"; //testes portatil - //public static final String PLANOS_ACTUACAO_URL = "https://www.siprp.pt/PlanosActuacao/faces/ListaPlanos.jsp"; //real + //public static final String PLANOS_ACTUACAO_URL = "http://192.168.111.24:8084/PlanosActuacao/faces/ListaPlanos.jsp"; //testes portatil + public static final String PLANOS_ACTUACAO_URL = "https://www.siprp.pt/PlanosActuacao/faces/ListaPlanos.jsp"; //real public static final String LOGOS_FOLDER = "/resources/images";