Questions tagged as 'java'

0
answers

Relate 3 tables (HashSet) Hbm

I try to reach a field in a table and I do not know how to do it. I have a table where I have all the data (TespEolReference), I have another intermediate table called the EolMedia table where the hashset is to TespTaxon and the field taxonRecor...
asked by 23.01.2018 / 10:21
0
answers

Java + Oracle. Millions of records

Good morning, I have a web application (Java, jsp ...) against Oracle. I would like to know what is the best way to list a table with 1 million records and also be able to export this information to a file with a .txt extension The tests so far...
asked by 23.01.2018 / 10:35
0
answers

threads in two jinternalframes

I have a jinternalframe that processes the number of products import and iva and register them in the database for the order, but this must be done when the purchase ends in a second jinternalframe that processes the payment this second receives...
asked by 01.02.2018 / 18:59
0
answers

Problems with simple http server based on java in windows xp

I have a problem with a simple server that I have made in java. It is a server that serves as a web server and uses the files found in the "resources" of the JAR project, that is, it serves the index.html files and others from those in the same...
asked by 01.02.2018 / 17:34
0
answers

error when deploying security.xml to my spring project?

Good, I am wanting to integrate spring security to my project. my wev.xml is: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:sche...
asked by 22.01.2018 / 21:17
1
answer

Matrices in java ()

In a Matrix the moment I enter a number for example one (1) the rest of the row is filled in at zero. ç public Bidimensional (int f, int c){ mat= new int [f][c]; } public int[][] matriz ( int col,int fil){ for (int i = 0; i &...
asked by 23.01.2018 / 23:44
0
answers

Java.lang.NullPointerException when executing a program. (It seems a configuration problem)

I am new to the SO community and to programming and I wanted to know if someone with more experience can help me. The problem is this: I start the pc and execute eclipse in a normal way, double click, select the workspace and enter again....
asked by 22.01.2018 / 15:42
2
answers

How can I insert the data of an ArrayListString into a java constructor?

I've been trying for many hours, I'm trying through files, when I read the data, I insert the data to a 4-parameter constructor, what I want to achieve is that when I read those 4 parameters, I created another new Magazine (that's what the const...
asked by 20.01.2018 / 03:42
2
answers

error in bracket

Good morning family, I'm very green in java and I've been trying to solve a very silly mistake for hours and I do not hit the key. I get an error by a bracket, to see if you see the failure and you tell me, Thanks in advance. public double ret...
asked by 20.01.2018 / 10:58
2
answers

gridlayout not functional in java se

First of all I create a JFrame with borderlayout distribution. Then I create an object of class JMenubar by calling a method where a complete menu is built. This object is located in the north zone of JFrame . Then c...
asked by 22.01.2018 / 17:58