All Questions
Tagged with java javascript
21,243
questions
0
votes
1
answer
15
views
Hide page count from the go to section of the pdf toolbar when pdf is opened in browser
From java side I am converting tiff images to PDF like below.
Rectangle pagesize = new Rectangle(maxWidth, maxHeight);
Document document = new Document(pagesize);
PdfWriter.getInstance(document, ...
0
votes
0
answers
12
views
Spring-web / Jakarta-servlet: detect input-change in 'when' function
In my .jsp-file, I have a text-field and a button. Both elements are part of a table. The table is filled through a forEach loop, which iterates over a List<WordDto> from the java-controller. ...
-1
votes
1
answer
32
views
Nashorn not recognized in Ant script with Amazon Corretto 21 and DITA-OT 4.2.3
I'm migrating our custom plugins to DITA OT 4.2.3, which requires a newer version of the JDK. We're using Amazon Corretto 21.0.3.9.1. We have one Ant build script that contains JavaScript. Since the ...
-2
votes
0
answers
23
views
Frontend does not show working correctly when uploading to a server from visual studio code in Java [closed]
It works locally perfectly, when I upload it to the server it loads fine but it has no functionality, the APIs are in status 200 and I don't get any errors
Dockerfile of the frontend
FROM maven:3.8.4-...
0
votes
1
answer
39
views
JavaFx WebView element selection. (JavaScript)
I have a WebView element, which render a html code. I want to create getSelectedIndices and setSelectedIndices method. Getter works, Setter throws IndexSizeException.
How can I set the selection area ...
-5
votes
0
answers
33
views
ConnectionRefusedError ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it [closed]
I spent almost now 4 days trying solving this issues about Rest Password on flask when i put the email address to Request Rest Password this message display in the terminal.
Files\Python311\Lib\socket....
-1
votes
0
answers
21
views
React overlays on google map
I have this google map with overlays. The positions for overlays are provided by a firebase realtime database. The database works but when it updates new overlays are created instead of moving old ...
0
votes
1
answer
34
views
Task :react-native-community_netinfo:compileDebugJavaWithJavac FAILED
When i add this library @react-native-community/netinfo i get this error otherwise my app runs fine. it only happens for android it works perfectly on mac for iOS. ive tried cleaning gradle
adding ...
-5
votes
0
answers
34
views
How can I start my project on Algorithm Visualiser? [closed]
I need a bit of help from you all coders. I want to build a web application that visualizes algorithm like stack, queue, etc and I want to know the stuffs (skills), I need to get ready for it. Can ...
0
votes
0
answers
26
views
CORS preflight check Error with iframe in react and ASP.Net iframe Service
I have a Next.js application running locally on http://localhost:3000/ and a Java backend on http://localhost:8080/. I also have a text Editor service running on https://localhost:44349, and this text ...
0
votes
0
answers
20
views
How to interact with Openfin dock elements which are not present in DOM
How to interact with Openfin dock elements which are not present in DOM?
I am not able to locate them in dev tools , I am using Selenium Java to develop test automation framework.
I expect to interact ...
0
votes
1
answer
134
views
How do I solve Nashorn removal and JS replacement in Netbeans 22?
Despite having followed every procedure exactly as specified to install an alternative to Nashorn in Netbeans 22, I still get the following error when trying to build a FXML project:
Java 15 has ...
-2
votes
0
answers
30
views
.env Module not Found in Heroku
I'm trying to make a backend server for a newsletter for a basic website I'm building. I've got the server up and running however, when I try testing the endpoint it messes up.
When I try to test the ...
0
votes
0
answers
9
views
How to autoFocus aui:input tag
I have been working on a view.jsp file with aui tags but i stumbled on a small problem. I wish to auto focus on the first input of a form when the page loads but i haven't been able to achieve that.
I ...
0
votes
0
answers
43
views
How to create another field in mongoDB document that filters the specified item from existing document array field
I am trying to filter items from a mongoDB document array field that are not equal to the provided value and create a new field with the filtered items using aggregation with $filter method but it is ...