Questions tagged as 'java'

0
answers

Why does the "delete" not work as expected? Java, Spring MVC

The credential is simply not deleted, what am I doing wrong? I am debugging and the credential that I want to delete if it exists, more when it does the "delete" is not deleted. Controller method: @Autowired private CredentialDao...
asked by 21.11.2018 / 12:45
1
answer

Use another class variable

I have a lot of problems when using getter and setter and without examples that help me, it's hard for me to understand what I want .. I'll explain. I have this part my code: // Acció button Aceptar class BtnAceptar implements Action...
asked by 21.11.2018 / 14:04
0
answers

Problems with the integration of Java and mantis

I hope someone can help me with some solution for this error which I can not find a solution for. I am trying to integrate java with mantis, everything was fine until I try to add an Issue (problem). In this part, the system shows me the f...
asked by 27.11.2018 / 14:56
2
answers

BufferedReader and BufferedWriter problem in JAVA

I am having problems with a program, I need the program to process 10 numbers written in txt down and write me if they are correct or not. The error is as follows:    Exception in thread "main" java.io.IOException: Stream closed   at...
asked by 27.11.2018 / 19:06
0
answers

Problem with the BufferedReader

I want to read a series of numbers from a txt file, so I did this to test if it gave me the first value: try { Path p = Paths.get("DatosEA.txt"); File f = p.toFile(); FileReader fr = new FileReader(f); BufferedR...
asked by 27.11.2018 / 17:16
1
answer

Pass variable ajax to php and how to make the call in php

Hello I have the following problem I have a dynamic select that gives the user an option and depending on that option throws other options are 2 select this is the code <div class="container"> <div class="row"> <...
asked by 27.11.2018 / 19:01
0
answers

SavedInstanceState returns Null

I get this particular error java.lang.RuntimeException: Unable to start activity , the crashing application running Run MainActivity, I debugged the program and it returns savedInstanceState as Null public class MainActivity extends AppC...
asked by 01.12.2018 / 15:11
1
answer

Problem when modifying a textView that is in another form

I have a problem when changing the text of a texView found in the first layout by pressing a button that is in the second layout . The thing is that if you let me change it backwards (from the first layout to the second one). I...
asked by 01.12.2018 / 00:16
1
answer

Sending data on Android - can not be referenced by a static context

In putExtra I get the following error cannot be referenced by a static context and I do not understand why, I just want to pass the data to the 2nd screen public class MainActivity extends AppCompatActivity { @Override protected void...
asked by 01.12.2018 / 13:12
1
answer

Why does not my java project allow me to insert data into mysql, although I do not see any errors?

private void GuardarActionPerformed(java.awt.event.ActionEvent evt) { try { conexion c =new conexion(); Statement s= c.con.createStatement(); ResultSet rs=s.executeQuery("SELECT * from...
asked by 21.11.2018 / 23:11