Questions tagged as 'netbeans-8.2'

0
answers

Error when inserting data into a table in PostgreSQL with Java Netbeans 8.2

I have a table with the fields: sales_id, date, name and address; of which the name and address are placed on the website, to register the sale, the user enters his name and address and at the time of sending the code must assign an id_venta and...
asked by 19.02.2018 / 13:41
0
answers

Error compiling project with UTF-8 in Java

When I gave a Java project in NetBeans in Clean and Build, but I see these errors The data with utf-8 is brought from a Php NuSoap Web Service C:\Users\alumno.desarrollo2\Documents\Proyectos Java\Token\build\generated-sources\jax-rpc\META\P...
asked by 09.02.2018 / 15:19
0
answers

How to capture a php array and capture it in Java and transform it to Json

I mean, I'm using a PHP Web Service with NuSoap, the return of a method is an array (without converting it to a jsonstring) Return structure array('return' => 'tns:estructura') Array to use $data = array(); This array is then loa...
asked by 06.02.2018 / 20:08
0
answers

Query data from an administrator and client view

I have a problem filling in the data of a table in a jsp. My model is as follows: The problem I have is in the index.jsp inside the menuProducts. When filling in the information with the following code: I do not get the d...
asked by 31.01.2018 / 07:48
0
answers

How to calculate the price of a reservation to insert later in the BB DD in DAO?

I'm doing a room booking system with Mysql, java and HTML.  I wanted to know How can you calculate the price of a room?   Depending on the days and the type of room, whether they have children or not.   And then as I insert it in the database. O...
asked by 09.02.2018 / 18:09
2
answers

Display data from a matrix

I need help to show the data of a matrix, I use a variable a, which indicates the number of records (columns) it will have and 4 are the rows or fields it contains (identification, name, address, phone), The problem I have is that I need to ente...
asked by 22.01.2018 / 02:26
0
answers

Help, I can not connect from Netbeans with Sql Server

I've been making several attempts but it has not worked. My connection string is this: public String conectar() throws ClassNotFoundException { try { Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); String...
asked by 16.01.2018 / 13:31
1
answer

Can you use Heroku without Maven?

I have a web application ( Java Web ) with Netbeans 8.2 I want to upload it to heroku but it turns out I can not do it, as I'm seeing I realize that I need to install Maven and I do not want, the application It would b...
asked by 15.04.2018 / 17:07
2
answers

How to put in a new array a vector without empty spaces

First array String datos[]={"hola", "", "como", "", "", "estas", ""}; Make an algorithm that skips empty spaces and that you in a new array datos new[]={"hola", "como", "estas"}; in java please This is what I have so far String[...
asked by 15.01.2018 / 15:11
1
answer

error in try catch

I get this error in try catch friends try with resources is not supported in source 1.6 netbeans     
asked by 09.11.2018 / 19:23