Questions tagged as 'html'

0
answers

Incorrect display of characters in html / jsp page

I was designing a website for academic purposes, but I came across a display error. My html / jsp pages are not displaying the accented texts correctly when retrieving from the database. All are UTF-8 charset in the meta tag and lang pt-br in th...
asked by 06.09.2017 / 19:26
1
answer

Java Web + Ajax + Servlets

I'm having a hard time trying to get the date in Ajax. When I run the code, I get the 200 status and in network in the Chrome debugger I can see the return, but I can not do anything else with the date, like giving an alert or anything usef...
asked by 08.09.2017 / 05:38
2
answers

Call method in action of a form that invokes which page should be redirected

When entering a value in the input text, I should check the database to see if it exists. If so, should I redirect to formDetails.php. If not, I should redirect to formRegister.php. I've been working on this for a few hours and can not find a...
asked by 21.09.2017 / 15:52
1
answer

How to use two forms with the same ID?

Hello, I found a problem. I'm doing an HTML form integration with Google Sheets. The issue is that I have two forms, I'm not excellent in Javascript but it seems that the "var fields" function only works with the HTML id. So, the problem is t...
asked by 18.09.2017 / 16:14
2
answers

Reset option select

JS: function alterarStatusFunction(val){ if(val =="aprovado"){ if (confirm('Tem certeza que deseja alterar o status dessa transação para APROVADO?')) { document.formtransacoes.submit(); } else { re...
asked by 18.09.2017 / 21:11
0
answers

How to catch the error: SERVER RESPONDS REQUEST-URI TOO LONG, STATUS = 414

I'm doing a chat application, which opens a file (via file input) and then converts it to DATA URI. (I'm using PubNub) when I send the string, I get a 'URI too long' error. How can I compress the URI, or at least capture this error? (try..catch...
asked by 18.09.2017 / 22:00
0
answers

Problem using LabelFor Razor MVC 3 + C #

I have the following error in my View : when I pass @class="classe boot-strap" is not used, even passing View inside parameter @class it insists on using 'text-box single-line' , code snippets. Code Razor...
asked by 18.09.2017 / 21:51
0
answers

Simultaneous access

Would there be any way to limit concurrent access without using the database? Is there any way to do it using .htaccess? Because I'm trying to limit access to a file that does not come in the PHP extension.     
asked by 02.09.2017 / 22:49
0
answers

Load only div from a specific site

Hello, I'm trying to get all the information from a page to a webview via jsoup but the letters are all deformed when I load and it does not look like this on the site, there's some way to load the site, but only the div that I want, which in th...
asked by 01.09.2017 / 19:19
0
answers

What are URl "BLOB"

I often find (ALTA) "URL's" usually of videos that begin with "blob:" and the "URL" normally, however, when trying to load this link I run into the error of that URL not being valid. Taking as an example the TAG and its SRC below: <vide...
asked by 03.10.2017 / 00:01