Posts by GarouDan • 600 points
11 posts
-
2
votes1
answer148
views -
0
votes1
answer244
viewsQ: How to put a global shortcut to restart servers in debug mode in Eclipse?
How can I set up Eclipse (I am currently using Kepler) so that by pressing a keyboard shortcut, for example, F12, the Tomcat server starts or restarts in Debug mode? I managed to make the F12…
-
3
votes2
answers383
viewsQ: Getting around the problem with hot Java development?
Problem situation: You are developing a website and debugging on it. For example a CRUD of users. For this you are using Javaee 1.7, Eclipse Kepler and Apache Tomcat 7. However, at the development…
-
5
votes1
answer633
viewsQ: Tools for mobile development
I’m looking for development tools mobile. I started looking at a call Codenameone, for example. However I would like some tips on which tool to choose. I have separated below some criteria that I…
-
3
votes1
answer1708
viewsQ: How to create a project with JSF, Primefaces, and Tomcat running in Eclipse and Netbeans at the same time?
How do I create a Maven project with JSF, Primefaces, and Apache Tomcat so that it runs on both Eclipse and Netbeans without problems? (Preferably with the latest versions of the technologies)?…
-
11
votes3
answers7424
viewsQ: How to get the last business day of the month?
Is there a reliable Brazilian library of holidays that we can integrate and get the last working day of some month? Anyway, if there is no such library, how could I get the last weekday of any…
-
6
votes2
answers804
viewsQ: Why does this code loop infinity?
Because if I put an invalid entry like asdf the code below enters infinite loop? After capturing the exception and writing the message he should not ask for another entry again? import…
-
0
votes3
answers2423
viewsA: Calculation of growth percentage
SQL Fiddle link. <?php // Proposta utilizando PDO e cálculo do rendimento no PHP function obterConexaoComOBancoDeDados ($bancoDeDados, $host, $usuario, $senha) { $dsn =…
-
2
votes4
answers167
viewsA: problem with C code conversion
Portugol: Se MEDIA >=6 E FALTAS <=10 Então Escreva “Aluno aprovado com média: ”, MEDIA Senão Escreva “Aluno reprovado com média: ”, MEDIA Fim Se C: /*Observação: utilizei o nome minúsculo para…
-
10
votes3
answers640
viewsQ: What is the use of nested blocks in Java?
I saw something written similar to the code below. That second block in the method method has any utility? It has to be used somehow? I ran this code and it compiled and appeared only the message…
-
6
votes2
answers982
viewsQ: Is it possible to perform an assignment and comparison in if clauses in Java?
It is possible to assign and at the same time perform a comparison in an if clause in Java? For example: String linha = leitor.readLine(); String saida = ""; if (linha = leitor.readLine()) { saida…