I'm currently working on a project where I need to implement a table filter using checkboxes, and I'm facing some challenges. I've managed to set up the basic functionality, but I'm struggling with a couple of specific requirements. I'm reaching out to the community for some guidance and...
package ejercicio2;
import java.util.ArrayList;
import java.util.Random;
public class Ejercicio2 {
private static ArrayList<Double> array = new ArrayList<Double>();
public static ArrayList<Double> rellenar(double min, double max, int tamaño) {
Random random = new Random()...
so im trying to make a web extension that changes the current youtube layout to an old version that i plan on completely writing from scratch im trying to change the background but i think im doing it wrong
this is my manifest script
{
"manifest_version": 3,
"name"...
Is there anything a Java program can achieve that an applet cannot in terms of graphic capabilities?
I'm talking about java libraries (such as Swing), not native ones.
I need to design a graph visualization user interface, most likely utilizing the spring embedder technique. I saw this oracle...
I have created a game of double chess that has been developed into an online game
play.synergy chess.net
I have noticed that chess.com is written in Java, JavaScript and PHP.
Synergy Chess is written in ReactJS, NodeJS, Xitrium, Scala and Java. This makes it very hard to find qualified...
Hi,
I have a problem about reaching out one url defnied in AuthController of auth service from any method of OrderControllerTest in order service.
As I cannot reach out it, I still get 404 Not Found exception. How can I reach out it?
I hope anyone can help me.
Here is the link ...
I have a problem in running any test method in service test and controller test in one of the spring boot microservices (order service).
After I completed service and controller , I tried to write their test methods but I have a problem in there.
How can I fix it?
Here is the security config...
This is the pastebin for my code: pastebin.com/gV01kTje
Basically I have an assignment where I need to create a calculator capable of up to 3 step equations and being able to do all PEMDAS operations in PEMDAS order. So far I've gotten it up to 3 step operations and being able to do addition...
Hi, I'm trying to write a code with for-loop to get numbers in order. For example 3,4,5,6 or -1,0,1,2,3. This is what I have come up with this far.
public static void runLoop(int start, int end){
for (start <= end; start++){
System.out.print(start);
}
}
I'm trying to make a do-while loop that print out a + each time it runs. It works well but I need to solve how to make a condition to make in not to print a + if it runs 0 times. I get that do-while loops runs at least time but I need to make a condition. Example runLoop 4 = 4 and runLoop 7 = 7...
Hi , As I'ven't solved the okta issue for nearly one month, I created and auth service (creating user and login).
I have a security problem about connection among auth service, api gateway and order service.
After I created a user and then login, I tried to make a request to order service...
I have a problem about writing a java stream by filtering multiple conditions , groupby multiple condition (if possible) and calculating the sum value
I store the values as `Map<String(pId),List<Person>>`
Here is my Person class shown below
public class Person{
private...
I have a problem about solving JwtGrantedAuthoritiesConverter in order service after defining preauthorize annotation in some methods of Order Controller.
After I wrote the test shown below, I tried to run it but I got this issue shown below as well.
I also shared my repo as a link.
How can I...
I have a problem about sending any request to a defined service through api gateway with the usage of bearer token coming from login.
After login, I tried to send a request to a defined service but I got this issue in JWTAuthenticationFilter of api gateway shown below.
I think there can be...
I have the following riddle:
How do I solve this in Java, using while loops? I had an idea on how to do it with for-loops, but it doesn't work using for-loops
So far, all I have is the following, which seems to be going through all possible combinations, but is incredibly slow, so I suspect...
Hey I wanted to ask if you could help me with my code.
I am supposed to write a class point which shows a point in the plane. A Treeset shouldn't contain more point objects with the same cordinates. Also in TreeSets the point objects should be sorted by their distance to the coordinate origin. (...
Hey all,
I hope this thread finds everyone well! I'm new to Java and this is literally my first project. The school I attend requires us to use Eclipse. When I start a new "class" (which please correct me if I'm wrong is about the same thing as a new java program inside a java project?)...
I have an issue not sending a request from one service to another one through api gateway in my spring cloud example,
Api gateway port number is 8600.
I try to send a request from management service to advertisement service through api gateway, I get the issue in Postman shown below.
{...
Spring Cloud Docker - Cannot access any service through api gateway and Cannot access any service itself
I have a problem about accessing any service through api gateway.
Here is the properties file of api-gateway
```
```
For instance, I tried to access user service through api gateway, I...
I have a problem in my Spring Cloud Example running in Docker.
I cannot fetch all properties file from config server.
How can I do that?
I only fetched 4 properties file (advertisement service, user service, api gateway and report service) while other properties file(eureka server and...