Questions tagged as 'java'

1
answer

Server JAVA and TomCat application doubts

Well, I need you to help me. I have an application server in JAVA EE and I need to use TomCat to upload this application to use it in another application. How can I do this?     
asked by 13.10.2016 / 21:30
1
answer

IO Error Exception when trying to manipulate a file

I've already compiled and run the program in NetBeans and it works normally, but when I run it through the terminal it always gives the IO Exception error. Is there any other way to read files without this error occurring? My function to read...
asked by 15.10.2016 / 16:31
1
answer

Amount allocated to the variable within the setOnClickListener is not being considered

So I'm doing a test app more to study myself, I'm a beginner on android do not know much, I'm trying to get it in the application when I click on an image that it goes into this method: p1.setOnClickListener(new ImageView.OnClickListener() {...
asked by 14.10.2016 / 15:37
2
answers

How to use an existing variable as a counter

My goal is to get the alphabet letter that the user typed in and show, how many times he typed, the letters that preceded him and his successors, do you understand? Here's what I did: static int v; static String[] Alfa = {"A", "B", "C", "D", "...
asked by 15.10.2016 / 03:59
1
answer

Store value in an ArrayList ArrayList

Hello, I have a question regarding storing the value I get from a table in an arraylist from arraylist. How should I do to store? For example: Private ArrayList<ArrayList<String>> valorMatriz = new ArrayList<ArrayList<Stri...
asked by 21.07.2016 / 20:58
2
answers

IDE Arduino does not open in Windows 10 - JAVA error

I installed IDE of Arduino on my Windows 10 64bits and I am not able to execute: The log of debug gives this result C:\Program Files (x86)\Arduino>arduino_debug.exe Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m -Xmx2...
asked by 13.10.2016 / 06:43
2
answers

I do not remember some concepts about Class Arrays

I'm wondering .. 1 - Is my reasoning correct? For example, if I put " Funcionário funcionario " inside class " Empresa ", it means that: "In the company has employee". Correct? 2 - How do I define a class array, that is, I want...
asked by 19.07.2016 / 06:59
2
answers

How to solve the problem of the variable's can not find symbol?

I'm trying to do an image upload in android studio but I'm having a problem that a can not find symbol variable error in RESULT_LOAD_IMAGE does anyone know why this error occurs My code goes below: Click function @Override public...
asked by 13.10.2016 / 14:31
4
answers

Application with Tomcat and Spring Boot

Hello I have the following problem in my application. After running the main method below and typing in the browser the address of my application localhost: 9090 / restauranteWeb is opening a popUp requesting user and password, I thought it...
asked by 24.06.2016 / 01:37
2
answers

How can I limit the use of a web application so that apanas can be used by Chrome?

My application is based on Java and made in Genexus. I want it to be impossible to use my application outside Google Chrome. Can you implement this limitation? I did not find this specific content in my searches, I would like the help o...
asked by 01.12.2016 / 14:05