All Questions

1
answer

Percentage in ajax requests

I wonder if it's possible to create a percentage in Ajax requests. For example: When the form is submitted it starts with 0% up to 100% (when complete) My ajax: index.php <script src="jquery.js"></script> <script> $(...
asked on 10.12.2014 / 13:17
1
answer

How to move files read by StreamReader in C #?

I'm trying to move some files. For each file containing the word "TEST" in your body, my application indicates that it is an item found. The goal is to move them to another directory. Here is the code below: string[] Lista = new string[] { "TE...
asked on 19.10.2014 / 02:27
1
answer

Java Tutorial for reading A3 Digital Certificate

I'm looking for a tutorial for implementing reading cards with A3 digital certificate. I have never worked with anything like it before and now this need arose. I searched for some things on the web and found nothing like a cake recipe, just a f...
asked on 02.09.2014 / 22:59
2
answers

How do I pass the session from context A to context B within Tomcat 05

I try two applications made in Java using Tomcat 6 and are in different contexts strong> but one interacts with the other because they are integrated, I need one to pass their session to the other context, or that contextA can set valu...
asked on 05.01.2015 / 17:10
2
answers

CONSTRAINT that adds parameter to FOREIGN KEY?

I have the following code for creating tables: CREATE TABLE pessoa ( cod_pessoa int NOT NULL IDENTITY PRIMARY KEY, nm_pessoa varchar (50) NOT NULL, tp_pessoa char(1) NOT NULL, endereco_pessoa varchar(50) NOT NULL, CONSTRAINT pessoa_tipo CHECK...
asked on 26.11.2014 / 18:10
1
answer

Design pattern Observer applied to events

I'm studying the design patterns and I'm trying to apply a real situation to them. And an example I made was in the event scenario: In this scenario every event has participants to register. So, I have implemented the Observer standar...
asked on 24.12.2014 / 11:07
1
answer

Error in the XML signature of NFs-e Belo Horizonte

I am developing the integration of a system to issue Nfse to Belo Horizonte are happening 2 situations that only with this prefecture that I have developed are happening, already we have integrated several prefectures and this is the one that is...
asked on 07.11.2014 / 18:05
1
answer

MySQL Backup with Event Scheduler

I would like some tips on how to back up a mysql database with Event Scheduler. I just got in my searches, find event to back individual tables. I would like to be able to backup the whole database, can anyone help me? (this code is just...
asked on 05.01.2015 / 14:07
1
answer

How to consume a JSON url without using jQuery

How could I do to consume a URL with data coming from a JSON without using libraries like jQuery or something like this for a structure of type: [{chave:valor1},{chave:valor2}]     
asked on 25.11.2015 / 17:09
1
answer

Is it safe to use font-face instead of cufon and the like?

I'm working on a website and need to use fonts that the user may not have on their machine. Do most browsers now support @font-face ? From which versions? It is already possible to give up alternatives like cufón ?     
asked on 04.09.2014 / 20:42