All Questions

1
answer

Go through and return a Java HashMap in order

I have the following HashMap Map<String, Float>notas = new HashMap<String, Float>(); notas.put("Examen 1", 8.0F); notas.put("1er trimestre", 9.4F); and I have the following method to go through it and show it on the screen @Su...
asked on 01.11.2017 / 20:45
1
answer

Report Viewer (Sign Interrogation in page)

Good morning, I have a problem with my report viewer, the part of the page (Number of pages that the report has) That question mark appears, how could I remove it? I have the following code on my aspx page <rsweb:ReportViewe...
asked on 17.11.2017 / 13:16
1
answer

Problems copying data to csv file (to bytes-like object is required, not 'str')

I'm having trouble copying a column of data into a csv file. The original csv file looks something like this: ID;texto 1;El niño juega 2;La rana salta 3;Mi código no funciona The code I use reads data from a csv file, and generates a lis...
asked on 04.11.2017 / 18:30
2
answers

Treat date in php "2017-09-02T00: 00: 00.000Z",

Very good, I receive this date form in a Json: 2017-09-02T00:00:00.000Z and I would like to be able to treat it to be dd/MM/YYYY . Does the function exist in php? Thanks     
asked on 21.10.2017 / 14:49
1
answer

Pass a list of objects from JavaScript to PHP

My code is as follows: function actualizarEstado(){ hi = Object.values(actualizaciones); window.location = ('actualizar.php?actualizaciones='+ hi); } <?php $actualizaciones= $_REQUEST['actualizaciones']; print_r($actualizaciones); ?>...
asked on 10.11.2017 / 15:00
1
answer

problem with the hover effect with bootstrap images 4

I have a modal image and I want the mouse to be placed in a blue with an opacity I try but the code does not work here <main> <div class="container"> <!-- seccion portafolio--> <div class="ro...
asked on 21.12.2017 / 01:50
3
answers

How the for ... in statement works in javascript

Good, a question has arisen with the function for...in of javascript, and I do not know if it is because I am using it badly, but it does not work for me. I am trying to apply to several elements of the DOM with querySelectorAll an...
asked on 06.11.2017 / 10:35
3
answers

Error "No suitable driver found for jdbc: mysql: // localhost / dda" when connecting to MySql from Java

I would like to connect to a database that I have locally. I have the service up, and I already have the base created. as shown is localhost, root pass 1234, and I have 2 user and oid tables, I have the following Java class to use...
asked on 02.12.2017 / 21:09
4
answers

How to make a switch in kotlin

I have the following example switch in java: int variable = 2; switch(variable){ case 1: //cosas break; case 2: case 3: break; case 4: //cosas break default: break; } What I want wi...
asked on 21.11.2017 / 19:04
2
answers

Inject objects into Java

I'm used to working with Java EE where you can simply inject objects with the @Inject annotation however I do not know how to do it without using Java ee. What I want is that the same object with the same instance can be used in different cla...
asked on 27.12.2017 / 22:10