All Questions
4,691
questions
0
votes
0
answers
29
views
FormData has Data on JS but in Servlet no
I have the next code in JS:
$('.upload-button').on('click', function() {
var fileInput = $(this).closest("div").find("input")[0].files[0]; //Aqui tengo el file
if (!...
0
votes
1
answer
50
views
Removing an li element and corresponding item from a java array list then output using ajax, javalin, html and css
we're having trouble to figure out how to remove an item that a user has searched for using our search bar. Our objective is to eliminate the item from our Java ArrayList and subsequently remove the ...
0
votes
2
answers
43
views
Pass bytes array from AJAX to Java
I'm trying to send a byte array to the server through AJAX:
$.ajax({
url: armd.scieldan.server + "/detachedSignFile/",
timeout: 120000,
type: "POST",
data: byteArray,
...
0
votes
0
answers
37
views
Draw graph in GWT
We are using JFreeChart to draw graph in a GWT project, and now we looking for something more interactive to do this. Each one we can use to have a SVG format of graphs by the easiest way.
Trying to ...
0
votes
0
answers
58
views
Method of controller is not called from ajax
I m building a simple web application using SpringBoot.
So I build a simple html form to send username and password on Controller side.
This is the login.html page
<html lang="en" xmlns:...
0
votes
0
answers
80
views
How to send a confirmation code to a email using JavaMailSender in Spring Boot (sts 4)?
I'm very new to coding, and I would like to seek some advices from the community.
I want to construct a basic format of sending a random code to a designated email address; in this case, I'm trying to ...
0
votes
1
answer
170
views
Unable to open an excel file using Ajax download
In controller, I am reading string buffer with comma separated and using apache poi library, generating Excel Content. I send the excel content to Ajax call to have browser download the excel file. I ...
1
vote
2
answers
122
views
clicking a button using htmlunit and java
i tried all the options from the stackoverflow site, I'm an intern in programming. Simply indicate how to click.
Site: https://calculator888.ru/random-generator/sluchaynoye-slovo
Button:
<div class=...
1
vote
0
answers
44
views
AJAX callback for file download including error handling
jsp
<button
type="submit"
id="btn_load"
value="Search"
class="btn btn-primary"
>Generate I-618</button>
js
$("#btn_load").click(...
0
votes
0
answers
54
views
AJAX call back to download file by browser
When user clicks the button, there is ajax calls to server. The server returns a text file.
I would like browser to download the file automatically.
.jsp button
<button type="submit" id=&...
0
votes
0
answers
69
views
OWASP ZAP: When testing a modern web application with HTML5 drop-down menus, can AJAX Spider mouse-over to open a menu without clicking?
I'm attempting to test a web application where there's a top-level navigation menu. Most of the items in it are drop-down menus where you mouse over the item, and a menu appears below the pointer, ...
0
votes
0
answers
59
views
how to download zip file used by AJAX java
After passing the data to the controller through ajax,
I finished creating a zip file in the C:\Users\user\AppData\Local\Temp folder.
It does open well in above folder I mentioned it.
But when I click ...
0
votes
0
answers
25
views
How to execute the controller when the ajax request is successed?
I'm trying to when ajax request is successed, make controller api executing. I want to make when kakao api request is successed, execute session.setAttribute("logStatus", "Y"); but ...
0
votes
0
answers
51
views
Java servlet doesn't pass response to AJAX jQuery
I tried to send request with AJAX jQuery to servlet and to display the table with results, but the only thing I see after sending the response is
So, as we see, the servlet handles the request and ...
0
votes
0
answers
39
views
Get result using javascript
I've already edit my question before.
I want get the all result from table.td status. But the result cannot show the actual or realtime result.
If of all the status pass the result status is must pass ...