Questions tagged as 'java'

1
answer

Error: not suitable method found for showInputDialog in Java

I am trying to create a program that stores license plates and names to create a database, however, when I run it, I get this error: apturas.java:71: error: no suitable method found for showInputDialog(<null>,String,String,String,String)...
asked by 01.02.2017 / 15:27
0
answers

How to obtain whole results in the variables with the SimplexSolver class from the Apache Commons Math library?

I'm making an application that uses the Simplex method to get the most use in a function, to use this method I use the class SimplexSolver present in the Apache Commons Math 3.6 library, the problem is that I have not been able to find a functi...
asked by 15.12.2016 / 16:30
1
answer

Problem causing exception InputMismatchException

I have a problem after I skipped the exception about the edat attribute. The problem is that when I miss the error and capture it instead of asking me the next question that would be the dni I jump directly to ask the population, t...
asked by 15.12.2016 / 16:47
1
answer

Problem when uploading JAVA FTP file

Good morning, I'm trying to upload a file to a server via FTP: try{ FTPClient ftp = new FTPClient(); ftp.connect(server); if(!ftp.login(username, password)){ ftp.logout(); } ftp.enterLoca...
asked by 09.12.2016 / 08:45
0
answers

Problems with JUnit and assertions

I do not understand why the assertEquals gives me an error. It asks me to import static org.junit.Assert. *, But as you can see, I already do it. import static org.junit.Assert.*; import org.junit.Test; public class ProductoTest { public...
asked by 10.12.2016 / 16:55
0
answers

How do I redirect from one jsp to another with an anchor tag?

To be able to update or update a database, use this     
asked by 09.01.2017 / 15:02
1
answer

exercice priority queue Comparable To

Someone can explain to me what behavior has the comparable method To go putting objects to the queue with priority, according to I believe if it returns a negative the greater object is the one that is passed as a parameter. But in this exercise...
asked by 09.01.2017 / 23:30
0
answers

problems running Derby in Java!

I am developing a small application in Java in Netbeans, I have no problems to create the database and link in development mode, the detail is when I generate the executable (EXE) I get the following error I do not understand what are t...
asked by 10.12.2016 / 17:49
1
answer

CSV in MS-DOS JAVA format

I have a problem when generating my file CSV from JAVA in the OS SunOS 5.10 (in Windows it works correctly) the format I need is MS-DOS try what the following question from the SO English tells me:    link But it d...
asked by 09.01.2017 / 22:12
1
answer

Read JSON file on android

I try to log-in, the server being programmed in Javascript (using node.js). The problem that I have (which I saw is very common but still do not find my problem back) is that when I try to read it I get the following message: Value //Objeto J...
asked by 08.01.2017 / 19:32