I am a beginning programmer and came across this in my textbook: public boolean equals(DataElement otherElement) { IntElement temp = (IntElement) otherElem
I have a table that I post with a database connection. I am searching the table, but after searching, selecting the row and bringing the result to the textbox r
I am using a binary tree to convert prefix expression into infix, and then solving them. That part works fully. My issue is the input loop I set up is adding on
I have Spring MVC application with JSP and the server is Tomcat. when I run this web application. Tomcat log as follows. 24-Feb-2022 16:13:16.054 SEVERE [http-n
I've deployed firebase deploy in cmd console. but error has occured several times. I already tried these things: Changing %RESOURCE_DIR% in firebase.json file T
I am trying to migrate an application to wildfly 26, and i am trying to use elytron to secure the application. I successfully run this commands using the jboss
I have a field in a POJO which needs to be encrypted before being serialized and, similarly, decrypted upon deserialization. The issue is that a cryptor is a Sp
I was solving tasks and saw a construction like that: String t[] = new String[n], e; Can you help me, what does ", e" mean? Wasn't able to find something about
I have a String that is encoded in base64, I need to take this string, decode it and create a truststore file, but when I do that, the final file is not valid.
Have to download a file in multiple formats xls, pdf, rtf, csv, txt. But I have to check all these file formats are downloaded one after another So I have writt
Error code shown below : The method setColor(Color) is undefined for the type JFrame package task3; class Execute { public static void main(String[] a
I'm coming from Java where the builder pattern is used heavily, e.g. Foo foo = new FooBuilder() .setBar(43) .setBaz("hello, world!") .enableCache(tr
I'm planning to convert the following without a for loop and using functional programming: int count = 0; for (int i = 0; i < 5; i++) { //Feedback: avoid for
In Java: If I print "123\u202e987\u202c456abc" then the result is 123987456abc If I print "123\u202e987\u202cxyzabc" then the result is 123
I have an exception when I try to run install.bat -r b2c_acc_plus , can you help me to resolve it ? java.lang.NoClassDefFoundError: Could not initialize class o
i'm using rabbitmq stream and i need to add a delay between messages because the stream handles messages very fast. how can I do that?
I have a JPA entity with the following fields: @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "modified_by_user_id") private User modifiedByUser; @Conve
I want to log into two different files, historic.log and applicative.log, from the same package that is com.authenticationservice.user.UserRequest. In the histo
I am using NetBeans IDE 8.0.2 to create my project application. I have created my application's signup page using multiple panels in CardLayout. For users to up
In the application I would like to create a request-scoped bean (annotated with @RequestScope) that would represent a user of the application (for authenticatio