Posts by adventistaam • 3,354 points
330 posts
-
0
votes2
answers89
viewsA: Contact form does not send some data fields
Missing to put the attribute "name" in them <select class="form-control" id="select" name="select"> <textarea class="form-control" id="message" rows="6" name="message"> </textarea>…
-
1
votes1
answer683
viewsQ: Run project in netbeans
I’m looking to upgrade a project, but when opening it in netbeans, it doesn’t give me the option to run…
netbeansasked adventistaam 3,354 -
0
votes1
answer553
viewsQ: Remove php file extension, less than one folder
I have the file. htaccess and want to take the file extensions less than the following: index.php and the system/functions/ folder which is the pas where my processing is RewriteEngine on…
-
1
votes1
answer197
viewsQ: Remove . php extension except from a file
Hello! I have my system in php, added the file . htaccess RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php RewriteCond…
-
1
votes1
answer139
viewsQ: Servlet recover Object
It is possible to recover populated object in requestParameter? Type coming from Javascript? req.getParameter("objeto"); I have the object Person who possesses Name Telephone in Javascript I send…
-
-1
votes1
answer675
viewsA: PHP does not return database result
Look I tested your code here and it worked. If you are using your code on the hosting server check that it is not in the phpmymadmin style syntax For example, I went through the same problem the…
-
1
votes1
answer328
viewsQ: Problem in web.xml
Hello! I have my web.xml, I want to put the jstl dependency, for this I am using the following code: <dependency> <groupId>jstl</groupId> <artifactId>jstl</artifactId>…
-
1
votes9
answers12142
viewsA: Search via ajax during input text ( autocomplete )
In html: <div class="form-group col-lg-12"> <div class="form-group has-feedback"> <input type="text" class="form-control" id="busca" onkeyUp="carregar()" placeholder="Pesquisar…
-
0
votes2
answers2420
viewsA: POST php com charset utf-8
I use some ways, in case one doesn’t work the other try rsrs If that’s just the case John for Jo? the can try so when writing: echo utf8_decode($nome); The other way I use it is like this when it…
-
3
votes1
answer59
viewsA: Database + java
Use this code below: CREATE DATABASE IF NOT EXISTS nomedobanco;
-
2
votes2
answers1111
viewsA: I am unable to configure the sqlsrv drivers in php7
I also had problem and I could not this way, I used the same PDO and it worked $p= new PDO('odbc:Driver={SQL Server};Server=NOMEDOSERVER;Database=NOMEDOBANCO; Uid=LOGIN;Pwd=SENHA'); $stmt =…
-
2
votes2
answers7594
viewsA: How to redirect page after login in php?
You can do it like this: $query1 = mysqli_num_rows(mysqli_query("SELECT * FROM USUARIO WHERE USUARIO = '$user' AND SENHA = '$pwd'")); if($query1 == 1){ header("Location: pedidos.php"); }else{ echo…
-
0
votes2
answers643
viewsA: Change Data with Mysql in PHP searching id from login screen
Getting the result of the query: $count=mysqli_query($conexao, $result); then you can check if the login and password have data, if you own, you recover the value session_start(); if($row =…
phpanswered adventistaam 3,354 -
1
votes2
answers68
viewsQ: Como Release App
I finished my app now leave ready for Play Store I saw on the website that I have to set up Gradle, add the release code. I took this code and I still don’t understand how to use it. release {…
-
0
votes0
answers172
viewsQ: Single Page Filter Exception
I have a filter @Webfilter("/*") that blocks everything, however, I would like you to have some exception pages... A page (or one I chose) is not blocked Has as? @WebFilter(urlPatterns =…
-
0
votes1
answer275
viewsA: avoid confirmation of resubmission form
I resolved! I added a javascript to return the value whether it worked or not. This javascript redirects if operation is successfully performed setTimeout(function (){ location.href = "curso"…
-
0
votes1
answer275
viewsQ: avoid confirmation of resubmission form
I’m developing an application and when I click save it redirects to where I want updated. Only if I refresh the page it asks if I want to take advantage of past data before, I wouldn’t want it to…
-
0
votes2
answers96
viewsQ: Change language in the app and stay changed
I have an app and I would like the user himself to change if you want Following this link even worked, but if I clear the cache of the mobile phone (I think that’s it) or clean all open screens and…
-
4
votes1
answer2307
viewsQ: How to format text in a Textview?
I want to add a formatted text (can be in html) on my Textview screen but I’m not getting it. I have string in values: <string name="lbl_explicacao"> <![CDATA[ <b> TESTE </b>…
-
8
votes1
answer1990
viewsQ: Java - Send Email Securely via Gmail API
I’m using a API e-mail Mail.jar of this tutorial for sending e-mail via Java, but I realized I have to, activate the permission for less secure apps. There is another way to send email Java, without…
-
0
votes2
answers156
viewsQ: Grab Files on Drive C:
Using the code: System.getProperty("user.dir")+"\\email\\email.properties" it picks up from the user (C:\USUARIO\user\Documents\Netbeans\Projeto\email\email.properties) but what if it’s in the unit…
javaasked adventistaam 3,354 -
0
votes1
answer53
viewsA: How to convert String to Double using JSP FMT EL
Resolvi rsrs I used the function: fn:replace So it was like this: <c:set var="media" value="0" /> //onde a funcao.valor é uma string 9,9 <c:set var="ontem" value="${ontem +…
-
0
votes1
answer53
viewsQ: How to convert String to Double using JSP FMT EL
Hello I have a 9.9 string, I would like to convert into 9.9 and double to add Currently I use it like this: <c:set var="media" value="0" /> //onde a funcao.valor é uma string 9,9 <c:set…
-
0
votes1
answer59
viewsA: Javamail does not send email
I got! It was the antivirus that was not allowing sending: I went to the antivirus and disabled only the smtp function and finally sent again. I had this idea when I saw this link Thank you!…
-
1
votes1
answer59
viewsQ: Javamail does not send email
I was developing an e-mail page. Sent legal, but even not giving error in the page it does not send more. I followed this tutorial here. It only works on the server, but on the local machine, it no…
-
1
votes1
answer71
viewsQ: JSP Two boxes after the comma
I have the following number: 10.205203 I would like it to be shown at only 10.02; I have that function, I don’t know if it’s the right one <fmt:formatNumber value="${media / total}"…
-
0
votes0
answers50
viewsQ: CSS When Sending JSP Email
Is there a way for me to send an email via java using even css? To be able to send the formatted body, I can, but I would like to put bootstrap in the email content //Criando a Multipart Multipart…
-
3
votes1
answer58
viewsQ: Graph without image jsp
Hello! I’m looking to generate graph by jsp I tried to follow that tutorial But only a little square appears in the left corner of the page when I run Filing cabinet Torta.jsp <% try{…
jspasked adventistaam 3,354 -
0
votes1
answer154
viewsA: FPDF Adding Page to More
I discovered the mistake. Actually, it was in my detail that I was screwing up $i = 0; while ($agendaList->hasNextAgenda()){ $i++; if($agenda_str == 'S'){ ... he was adding many pages when it was…
-
1
votes1
answer154
viewsQ: FPDF Adding Page to More
My document only came a record, but it still generates two pages the function I’m using is this: function Footer(){ // CRIANDO UM RODAPE //$this->SetX(15); $this->setY(-15);…