Questions tagged as 'java'

1
answer

Select multiple alternate rows in a JTable "getSelectedRows ();"

Good morning, I hope we can learn from the topic that I am trying to solve, but that I have stuck and I can not solve it. Hopefully we can all learn in this beautiful forum. I have the following line of code in which I insert the data of t...
asked by 19.07.2018 / 18:06
2
answers

Why do you throw the following error when clicking on the table of my jFrame?

Basically schedule a view in which I could enter data, modify, elminate, so that if I clicked on the table it would let me modify the data that I want, the problem is that it throws me an error that I do not understand and this does not let me m...
asked by 19.07.2018 / 09:17
0
answers

Call web service from java

I have this code: ServiceClient cliente = new ServiceClient(); cliente.setTargetEPR(new EndpointReference("http://11:133:43:5776/css/ejemplo.cls")); Options options = new Options(); options.setTransportInProtocol("http"); c...
asked by 13.07.2018 / 07:49
1
answer

Help with Crud in Java

I'm doing a web application in java, and I get the following error: org.apache.jasper.JasperException: /Comics.jsp(75,16) PWC6236: According to TLD or attribute directive in tag file, attribute items does not accept any expressions I leave...
asked by 13.07.2018 / 00:39
0
answers

How to add a 0 to the left to the value of a field in oracle with LPAD?

I have the following query, where the field ENTIDAD_REC is of type varchar seems to me and has values like these 012, 003, 011. What I do is show that query in a .csv file and that field shows only the values 12, 3, 11, it does NOT sho...
asked by 25.07.2018 / 04:05
0
answers

How to combine successions in java

I am new to this, I hope you can help me. The teacher has left us homework, a program that calculates the following sequence that has a behavioral pattern: 3, 5, 5, 8, 7, 11, 9, 14, 11, 17 ... with the condition that we add a limit for the gener...
asked by 02.10.2018 / 22:34
0
answers

Can you pass a bean per post to the servlet?

I've searched for information about it but nobody says, you can or can not: (. I have a bean (with getter and setter methods) and I would like to send it by parameter to the servlet in a form in the following way: <form action="Servlet"...
asked by 01.10.2018 / 17:05
2
answers

Read Excel with Java (Unfilled cells)

I'm having a problem reading an Excel, I really have about 10 different Excels, and I've made a code to read them all. The operation is as follows, I am reading cell by cell of Excel and the data is put as STRING type in an array, when the fu...
asked by 02.10.2018 / 10:14
1
answer

JcomboBox returns Null Pointer Exception

I'm doing a project to send packages in Java and I'm having a problem loading a combobox with data brought from a database. In the stack trace I am returning as error what can be seen in the image, and according to what I observed the line 239 t...
asked by 04.09.2018 / 03:16
0
answers

Get data from MySQL to JTextField Java

I'm trying to get data from my db and display it in TextField's, my problem is that you only get the values of the first table in my list, when you select the second, they are not updated I charge it with MouseClick This is the first fie...
asked by 08.07.2018 / 04:11