Questions tagged as 'java'

0
answers

JSP works normally only on Localhost

I'm developing a dynamic web project in JAVA. I'm using JAVA 1.8_0121, Tomcat 8.5 and mySQL. Since I started the project I used localhost to debug my application, now I'm trying to deploy to my server, when I did this, the program started show...
asked by 23.02.2017 / 19:40
0
answers

Help to filter json file from firebase in the application

I am building an application that is just an information filter that is in the json of the firebase database. My headache is where I'm going to apply the search code! for now it looks like this: public class MainActivity extends AppCompatActiv...
asked by 31.01.2017 / 13:57
1
answer

Class not found

I am testing a .jar where I will pass named parameters to the command line, etc. The problem is that it is not finding my main class. Someone help me? package appOptions; import org.apache.commons.cli.CommandLine; import org.apache.commons.cl...
asked by 31.01.2017 / 18:35
0
answers

How to create a socket in wildfly?

I need to create something that reads everything that arrives on a specific port and treat that information. An Ubuntu server with WildFly 10 running is used. The information passed is from the trackers (in this case it is Concox's CRX-1 and Sun...
asked by 08.02.2017 / 20:30
2
answers

Press the button on a screen that is a fragment and go to another fragment. How to do?

I have a class of type Fragment and I would like that when the user clicks on the button it would go to another screen that is fragment .. how can I do this? public class AlertaFragment extends Fragment { @Override public View o...
asked by 02.02.2017 / 14:17
0
answers

Optical Mark Reader

I need to read a .pdf file and generate reports based on the data from that file. I once made a specific system for a graphic that interpreted the responses of the candidates in a public contest. The system interpreted the markings (of the an...
asked by 08.02.2017 / 23:20
1
answer

Use user-selected content in ComboBox as key (map) in enum class

Beauty, people? I'm having a hard time. That's exactly what the title says. Code containing cbox: JFileChooser fc = new JFileChooser(new File(pastaPadrao)); String[] siglaStrings = { "Selecione", "CIC", "CISEI", "GERMEM" }; public JComboBox...
asked by 25.01.2017 / 20:01
1
answer

What information can I get from the user through Java EE?

I need to implement SSO (Single Sign-On) on a company client that I work with, the scenario is basically the following: They have a web system, done in java, that has a normal login, however they do not want a screen and that this check is done...
asked by 30.01.2017 / 13:11
0
answers

Method for calculating punctuation

I have a file resultados.txt where is the id of both teams and how many goals each scored in the game. Through this file you create another file where the team's name is, the total points of that team, how many victories it had, how ma...
asked by 29.01.2017 / 21:24
1
answer

WebService synchronous

I have a RESTful WebService developed in Java. I need a method (service) that is synchronous. But I can not do this on the client side, it has to be done on the WebService side, because this service can only be requested once only once. Anoth...
asked by 30.01.2017 / 11:46