Questions tagged as 'java'

2
answers

Display all directories and files contained in them

I'm trying to mount a file tree where in addition to displaying the directories of the computer is also displayed its files. The code I've done below is only listing the specified directory, in this case C:\ . But the directories contained...
asked by 07.05.2015 / 21:24
1
answer

A little problem in Eclipse

There was, yesterday, a question right here on the site regarding a problem in my Eclipse ADT. I thank the lucky man, whose name I am not remembered, for helping me! The way was to install a plugin in the SDK. Even so, when I build my Android...
asked by 24.05.2015 / 22:13
0
answers

Session-timeout works in place and gives error in the cloud

Running the application locally timeout works, but when I put the application in the cloud I get this The requested resource is not available error message after the time runs out. What am I doing wrong for my application that gives error on...
asked by 25.05.2015 / 18:54
2
answers

Product of Matrices

I am trying to create a method that returns the product of two arrays passed as parameter. The method is only working for square matrices and not for two 2x3 and 3x2 matrices, for example. If anyone can help and tell you where the error is, I th...
asked by 26.05.2015 / 01:53
0
answers

Old Game / Cock Game with Application Level Protocol

General Information I'm using Notepad ++ . I plan to have the Game of the Rooster program fully functional. Replicating the problem First I run the TicTacToeServerProtocol this way, using a plugin: cd "$(CURRENT_DIRECTORY)" ja...
asked by 29.05.2015 / 12:56
1
answer

Request and Response in JSTL, when to use?

Am I wrong to say that request will I redeem what I sent for an "action"? And response ? I read in several places about and I did not quite understand, it was not clear to me ... Can anyone summarize these two parameters of HttpS...
asked by 29.05.2015 / 16:56
1
answer

Framework iText generating empty file (0 kb) [closed]

I have a project that was generating the PDFs normally, it generated the texts and images in the file, it was a beauty, however, a while later it left unexpectedly to generate the file in the correct way, no matter what I do it will always gener...
asked by 25.05.2015 / 20:34
1
answer

My Thread only runs 2 times [closed]

I have a method that takes several files from a directory the lists in a table and generates a report for each file. I put a thread in this method and now it just picks up 2 files and stops. Where I might be going wrong: Method: private vo...
asked by 28.05.2015 / 15:12
0
answers

Flush in asynchronous servlet does not work

I am studying for web certification, and I came across a problem when trying to make a chat using long pooling, but precisely in the article: link I noticed that my client did not get the writing, so I wrote a basic example to see if the...
asked by 07.04.2015 / 05:03
0
answers

Java compilation error (Minicraft by Notch)

I'm having trouble running the game that Markus Person Notch created in 48 hours known with Minicraft (do not confuse it with Minecraft), I downloaded the source code but it gives the following compilation error: Exception in thread "Thread-0"...
asked by 09.04.2015 / 22:32