All Questions

1
answer

Redirect to another page only if the user is authenticated

I have a login screen where I authenticate a user, however when I put a action to change the page independently whether the user was authenticated or not the page is opened. My question is to know where I have to check whether the user...
asked on 10.06.2015 / 18:54
1
answer

Binary search in a list with no fixed size

Is there a reliable algorithm that can perform a binary search in a list where the size ( length or count ) of the list can not be considered? I know one of the requirements for a binary search is to know this size to split the l...
asked on 30.07.2015 / 14:37
1
answer

Copy and Paste Javascript command [duplicate]

I need to know how to give ctrl c in a div's contents when clicking on it. In case it will have multiple divs, and it will get the contents of the div clicked. I found some things on the internet, but wanted something simple. Simply through...
asked on 27.06.2015 / 15:28
2
answers

Progress bar on file upload and information registry

I'm developing a project, where I use upload files, as well as an information registry. Both the file and the information are registered in the same form. So far so good, but it's usually that when there is a larger file, it takes about 20 to 30...
asked on 25.07.2015 / 21:23
2
answers

Glyphicons with error when publishing in IIS

I'm developing an application with
asked on 10.07.2015 / 16:46
1
answer

How do I get an image of the computer inside a java application?

I have a registration and in this register I would like the user to choose an image to represent him. Otherwise, a default image would appear. That is, in a certain part of the registry would have a button that when clicked open the Windows m...
asked on 26.06.2015 / 06:25
2
answers

Point function in the calculator (broken numbers)

I've created a calculator with Swing and awt.event, and I have three questions! First question: To create the calculator I used the import with import.javax.swing. * and java.awt.event. *, when I use *, I am using all the contents of the...
asked on 14.04.2014 / 22:27
3
answers

Do not fill field if it does not exist

I have a question about how to ask a question to the database. Suppose I have two tables with slightly different structures Table1 id tipoA data 0 A '21/12/14' Table2 id tipoB data 1 B...
asked on 16.06.2015 / 16:26
1
answer

Search field in select form

Good evening, I would like to know how do I in the list of a select enable the "search" within the field? <select class="input-xxlarge" onchange="clienteChange()" style="width: 409px !important;" id="cliente" name="clien...
asked on 09.06.2015 / 04:09
1
answer

Conditional Resolve

I have a if that is not being satisfied ever. I think I'm using some loop in the wrong way. I've checked the value of all variables, and they're all correct. So I'm going to pass variable values here and you, if you can, analyze w...
asked on 04.05.2014 / 05:06