Questions tagged as 'java'

2
answers

How to get attribute of the one session Java, Spring

I want to create a final variable, but get its value from a session started, for example final static String variable = (String) new HttpServletRequest.getSession().getAttribute("codigoVerificacion"); I hope you can help me, sinc...
asked by 14.11.2016 / 21:04
1
answer

How do I unzip a tar.gz file and what did the config.m4 generate for me?

Good afternoon, I need a help and it is that I am doing the PHP / JavaBridge installation on a web server. I already have the java and php installed. I'm following this tutorial: link The problem is that when I get to the part of the instal...
asked by 27.08.2018 / 22:21
1
answer

Join 2 images in Java [closed]

Good, I am trying to join 2 images in java, one of them is a number that is in one image and the other is a black background with a small white hole to put the number, I would like to know if it is possible to place that number number in the hol...
asked by 01.11.2016 / 16:42
2
answers

Problem when reading txt file with java

I have a Configuration package where I have a Config.java class and a config.txt file that I want to read. Config.java public class Config { public String obtenerConfig(){ String texto = ""; try { BufferedReader bf = new...
asked by 06.12.2016 / 22:44
1
answer

How to keep rows together in ITETXPDF 5

I am putting together a PDF for a quota list and it works as follows, if the amount of installments is equal to 36, those quotas are shown on the first sheet plus a description of totals below row 36. But if is 37 or more, those rows should go o...
asked by 27.08.2018 / 20:49
2
answers

Show in cosola data of an array in Java [closed]

I want to extract and show in the console the data of a person in an array in Java that contains several repeated data like these: dni "Compound Name", "Surnames" and date. And that shows in a line the ID, in another line the name composed in ca...
asked by 15.10.2016 / 18:05
1
answer

Copy content from a Jtable to a File.txt

I am entering data at a jTable and through a jButton , I want to copy the information from the rows of jTable into a text file. public NuevaVenta() { initComponents(); Date fecha = new Date(); //fecha y hora actual...
asked by 07.03.2016 / 22:55
2
answers

How to print from Java using a printed ticket of Epson TM-U220D? [closed]

Print a ticket from Java using a printer EPSON TM-U220D .     
asked by 05.02.2016 / 01:37
1
answer

I need help with splits and modifying text in Netbeans JAVA

I'm doing a program in JAVA that opens a text file and edits some lines in the file is of this type: PreUtterance= Intensity=100 Modulation=0 PBW=333,286,411,525,471.2 PBS=0 PBY=0,125.1,-19.3,69.9, I need to edit the second and...
asked by 18.08.2018 / 04:32
1
answer

Free RAM memory in Java [closed]

I have an infinite loop that performs a series of operations with different types of files, reads files, creates different xml and inserts it into a database. For this I use the following code: public static void main(String[] args) throws...
asked by 04.05.2018 / 15:54