All Questions

2
answers

Stereotype @autowired vs @inject

When to use @autowired ? Is your goal to inject a class? But for that would not be @inject ? @Autowired private CreateTextMessageService service; In this case the @autowired is being used in a property. But in the...
asked on 15.05.2017 / 06:02
3
answers

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 43624344 bytes)

I get this error when I go through a for with the results of a sql: $datos = serialize($res); $html = ""; for($i = 0; $i < count($res);$i++){ $html = $html.'<form action="exportarTxartelak...
asked on 22.05.2017 / 15:52
2
answers

Put a variable as a title in an sql server query

I want you to show me a variable variable in the header. When I do this: declare @dato char(6) declare @sql varchar(800) set @dato='201601' select @sql='select @dato as '+ @dato exec(@sql) I get this error:    Msg 137, Level 15, State...
asked on 14.09.2016 / 17:52
1
answer

Internal links with name or id?

If I want to refer to a part within a page I use links with a pad ( # ); as for example: http://mi.pagina.com/#ancla , will jump inside the page to the part identified with the anchor #ancla . There are two methods that work...
asked on 05.08.2016 / 04:46
2
answers

Error downloading zip from PHP

Good! I'm trying to make a download of a zip file from the server, but when I start the download, it gets stuck ending up as failed. - As a data, when I change the file type to plain and download a txt any, download and ope...
asked on 27.09.2016 / 16:04
2
answers

Pass HTML table data to servlet

Greetings, I have the following table in which I am adding items. <table class="table table-hover"> <thead> <tr> <th>Codigo</th> <th>Descripcion</th>...
asked on 03.10.2016 / 00:28
1
answer

SignalR and mobile devices

Good morning I was using signalr to update an application in which vehicles are shown moving on a map, the locations are notified from the server to the page by signalr, while the page is active, in the browser of the device (it is not a Hybr...
asked on 28.09.2016 / 00:03
2
answers

Error without solution Responsive background with boostrap

I have a page to which I put a background with CSS, and adapt it so that it looks 100% wide and long. When you include text on it and see it on a cell phone, it gets out of hand. I copy part of the code HTML <section id="banner">...
asked on 15.08.2016 / 03:05
2
answers

Is it possible to initialize an array of x length assigning values in C ++?

I would like to know if it is possible to initialize an array by assigning values. Is the only way iterating with a for ? Something that is very easy in Javascript is to declare a variable assigning values, and also has the advantage...
asked on 28.05.2017 / 23:21
2
answers

Concatenate byte with string in Python 3.5.2

I am making an application where I detect data from a sensor from Arduino and I want to print them together with the date and time. The data I read from the Arduino serial port is byte type, while the date and time are str. I want to concaten...
asked on 28.09.2016 / 08:30