Questions tagged as 'java'

0
answers

File jsp does not open in the browser, but if it does in eclipse

As I mentioned in the question. a jsp file runs in eclipse but when running it in a browser it does not open and it shows all the code. <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>...
asked by 02.03.2018 / 14:25
0
answers

Problem with the OneToMany association

I am trying to create an association one to many I have created tables about mysql, as well as entities, but it does not insert data and tried to debug but I can not find where the error may be. MySql: CREATE TABLE IF NOT EXISTS 'pubs' ( 'i...
asked by 02.03.2018 / 04:12
1
answer

Grid View inside Fragment

Well I'm doing an application where I want to put a gridview in a fragment the problem is in a line of code that marks me error This is the code: import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment;...
asked by 25.02.2018 / 20:01
1
answer

How to display the dd / mm / yyyy format in java within a table?

I have the following code that brings me the current month and year // Obtienes el mes actual mes = LocalDate.now().getMonth().getValue(); //Se obtiene el año actual Year año = Year.now(); annio = año.getValue(); I have...
asked by 23.02.2018 / 22:13
1
answer

Help! How do I get out of a while loop when it stays cycled in another while loop?

I have a cycle while to read a file .csv and another cycle while to read a array of letters. Inside I should print a letter and a line of .csv. But it remains cycled and only prints each letter of the alp...
asked by 23.02.2018 / 20:19
0
answers

Read files Callable Java Interface

I need to read certain files that are in a folder, each file has an operation for example 2 + 2, and when you finish that you can read the result, perform the operation and show your result in the console as something like this Archivo1 2+2 4...
asked by 23.02.2018 / 19:10
0
answers

ArrayIndexOutOfBoundsException

outOfBoundsException Hello. I'm having problems with this code snippet: import ij.IJ; import ij.ImagePlus; import ij.ImageStack; import ij.process.ImageProcessor; public class StatisticalSignificance { static int[][] rRed, rGreen, rBlue;...
asked by 23.02.2018 / 21:59
0
answers

Simple threads in Java with files

I have some text files what they are going to have is simple formulas like 2 + 2, 6 * 90, etc. Each file has to be read by a thread (for each file we will create a thread) that will be responsible for reading the contents of the file and perform...
asked by 23.02.2018 / 19:59
0
answers

Read files Callable Java Interface

I need to read certain files that are in a folder, each file has an operation for example 2 + 2, and when you finish that you can read the result, perform the operation and show your result in the console as something like this Archivo1 2+2 4...
asked by 23.02.2018 / 19:10
0
answers

HTML date format

How can I change this. & total = 10 & date = 2018-03-02 & idAgR = 1 . to    & total = 10 & date = 201/03/02 & ampAgR = 1 . ? since I make a direct request either Chrome or Firefox since you mark me an error in this method    pub...
asked by 02.03.2018 / 16:59