Questions tagged as 'java'

1
answer

Is it possible to send all Java Exceptions by email?

I have a Java Web application, using Spring MVC, and would like to email all Exceptions posted to the system. Is it possible to do this? Set up a default email so that it receives all the Exceptions and the stacktrace, so that I can follow th...
asked by 23.06.2016 / 15:41
1
answer

Delete files created before 10 days ago from the current date

I'm trying to automate the deletion of some backup files that a small application I've made in swing creates, which over time will accumulate, taking up too much space in the network directory, which already has a storage limit. The list of file...
asked by 20.06.2016 / 17:38
1
answer

Thread in Java and NodeJs

We know that benchmarks are specific measures and do not count for all cases, certainly what and how you measure matters a lot, so I'll try to be very specific. In the case of a server having thousands of connections, and if it is a thread ru...
asked by 17.08.2015 / 22:20
1
answer

Conditional validation on PrimeFaces component

Hello I have the following problem. I have the inputText description which is disabled by default. When I click the browse button, it enables inputText and then instantiates an object to search. If I do not pass a filter in the inputText desc...
asked by 20.08.2015 / 21:47
3
answers

RXTX: balance serial port connection

I'm trying to take the weight off the scale, but I can not find success in this battle. As you can see the connection to the SERIAL port (actually it's USB) everything is ok: Stable Library ========================================= Native l...
asked by 21.08.2015 / 12:54
2
answers

Error starting Tomcat 9 as service

I have a problem starting the Tomcat service. When I try to start the service, some problem happens and it is not initialized. The log in C:\Program Files\Apache Software Foundation\Tomcat 9.0\logs is as follows: [2015-12-12 17:34:58...
asked by 12.12.2015 / 20:41
1
answer

Updating data from one activity to another

I am making a android application that uses telnet communication and receives data every second ( ActivityTelnet ). I would like to treat some of this data in another activity ( Activity1 ). However, when I am in...
asked by 18.08.2015 / 16:30
1
answer

How best to make a spreadsheet

I have to implement a hash table, also known as a spreadsheet table, however my inexperience with this data structure can cause many collisions to occur in my implementation. I would like to know what practices I should address and how to know i...
asked by 20.05.2016 / 02:36
2
answers

Error in converting JSF

Error or Bug? Hi, I have an error appearing on the eclipse console, on the registration screen the form writes perfectly, everything ok, but the console points: java.lang.NumberFormatException: For input string: "Selecione" at java.lang.Nu...
asked by 14.05.2015 / 21:54
1
answer

IF condition is true but does not execute related code [duplicate]

I have my program that displays a message and in the same message the user must enter a code. I'm trying to do the validation if he typed something or not, for that I use the code: AlertDialog.Builder alert = new AlertDialog.Builder(context)...
asked by 20.05.2015 / 19:29