Posts by Bruno • 295 points
22 posts
-
1
votes3
answers141
viewsQ: Isolate processor to run only my program
It has as I isolate the processor to run only my program in C? It’s more of a didactic and scholarly question that my I.A teacher passed on to me. He asked us to perform millions of operations to…
-
1
votes1
answer341
viewsA: iReport lacks special character when exporting PDF
Following Gustavo Fragoso’s tip, I changed the font to Dejavu Sans, and it worked: <font fontName="DejaVu Sans" size="11" isBold="false" pdfFontName="" pdfEncoding="Identity-H"…
-
0
votes1
answer341
viewsQ: iReport lacks special character when exporting PDF
I’m using iReport 3.7.4 to generate the reports. In one of the reports, I need to use an arrow, to indicate a step by step. So I found the arrow code in Html Entities &# 10140;, and in the…
-
0
votes1
answer100
viewsA: Ftpclient in passive mode
I managed to fix it. I was using the FTP in active mode: if(!ftp.isConnected()){ ftp.connect(destino, cdPortaFTP, localhost, cdPortaFTP); } ftp.enterLocalActiveMode(); When in fact, I needed to use…
-
0
votes1
answer100
viewsQ: Ftpclient in passive mode
I have a problem trying to connect FTP. For Filezila, it works normally.... but when I try for this code snippet, it generates the following exception: jAva.net.Bindexception: Cannot assign…
-
2
votes0
answers60
viewsQ: The method exceeded the limit of 65,535 bytes
I have a JSP file and any line of code I insert, it displays the following error: The code of method .. is exceeding the 65535 bytes limit. The problem is that I am using Opencms, which is based on…
-
2
votes2
answers367
viewsQ: ASP - Printing JSON without last comma and double quotation marks
I need to make a query in the database, and returns a JSON. I tried using JSON for ASP from Google, but there were some errors, so I decided to do it manually: <!--#include…
-
1
votes3
answers97
viewsQ: Each does not work
I’m looking to replace the tag <a> for <span>. I tried to do it like this, but it doesn’t work: $(document).ready(function() { $('#lista-noticias .box-noticia…
-
0
votes1
answer5229
viewsQ: Add end point of each row
I wanted to know if you have any command in the sublime or some other editor, which will insert some predetermined character. 'Cause I have an html code that I need to add to String, like this: body…
sublime-text-2asked Bruno 295 -
1
votes0
answers219
viewsQ: Route Mapping - Google Maps
I’m having trouble making my way. I have 2 inputs text, with google’s auto complete function. When the user marks the second input. The map already plots the route between the two points. But I want…
-
0
votes1
answer574
viewsQ: Google Maps Hide Marker
I have a problem. I’m having trouble deleting Markers from Google Maps. The intention is when you click on a Radio Button, mark a place, and remove the others. When I click on a Radio Button, it…
-
4
votes3
answers1175
viewsQ: Using Double in the compareTo method
I’m having a doubt. I have several methods of comparison, however, one of the attributes used to make the comparison is double. Then an error occurs: Cannot invoke compareTo(double) on the Primitive…
-
2
votes2
answers428
viewsQ: Multiple sorts with Arraylist
I have a question. I want to order the Arraylist person in different ways. <%@ page import= "java.util.*"%> <%! public class Pessoa implements Comparable<Pessoa> { String Nome;…
-
2
votes0
answers449
viewsQ: CAPTCHA Google in Java
I’m having trouble deploying Google’s CAPTCHA. On the form page I added the script and the div of captcha: <head> <script src='https://www.google.com/recaptcha/api.js'></script>…
-
2
votes1
answer173
viewsQ: Arraylist Comparator JSP Object
I’m having trouble implementing the Comparator method, to sort the Object Arraylist. I have an Enterprise class. Where I then create an Arraylist, which is filled from a content manager system. I…
-
3
votes1
answer762
viewsQ: Best method of discovering the state
I need to find out the status that the user is accessing the page, to select already be marked, and some functions enabled. I was seeing that finding the status from the IP is pretty flawed. Ai saw…
-
1
votes2
answers784
viewsA: Phpexcel generates broken spreadsheet
I solved the problem as follows: Instead of downloading the spreadsheet directly. I save it on the server, and then download. I commented on the header, and made the following changes: $objWriter =…
-
2
votes2
answers784
viewsQ: Phpexcel generates broken spreadsheet
I’m using the Phpexcel class to export a BD table. But I’m having trouble downloading the spreadsheet. To test, enter values manually without making any select in the BD. However when it generates…
-
1
votes1
answer256
viewsQ: Drag & Drop with parameter
I am making a dynamic form. Where there is a button that adds the field type (Date, Time, Text, Email, etc). And I wanted to sort these fields with drag and drop. I would need you to return the…
-
0
votes1
answer79
viewsQ: Show Carousel after loading
I have two carousels on the page and while they are loading, they are broken. Only after they are right. I wish they were only displayed, once fully loaded, but I’m not getting. window.onload =…
-
-2
votes1
answer187
viewsQ: Using Javascript with AJAX
I have a form on a JSP page. When the customer enters the CPF, via AJAX, I take the CPF I make a query in the bank, if she has already registered. I take all the data from it, and fill in the fields…
-
3
votes1
answer121
viewsQ: Export to database
I load 3 Strings from a CMS. String Data da Noticia String Titulo da Noticia String Texto da Noticia Within a loop, create the query to insert with these 3 strings. I’m just having some problems.…