I'm developing a servlet that get a some detail from index.jsp form when i submit servlet throws following exception. I'm using NetBeans and Apache Tomcat/10.0.
I noticed that inlay hints have been added to VSCode for TypeScript and JavaScript. I was just wondering if there was a way to enable it for languages like Java
I am trying to do it without methods so that I can better grasp the concept. I am really close. My hours math seems to be off. What am I not u
I'm trying to solve this question, but the NumberFormatException always happens. Using try-catch doesn't give me what I want because it always
I have a wok manager that I run from the Main Activity when the user logs into the application. So, I will tell you in more detail what I do in the manager: in
I have a spring-boot project that contains a BookMapper bean: import org.apache.ibatis.annotations.Mapper; @Mapper public interface BookMapper { // some CR
My code is: @Override public void loadingDone(int whatIsDone) { if (interrupt) { return; } synchronized (this) { // 1 - loaded with v
I am trying to convert Json Data {"col1":"sample-val-1", "col2":1.0} {"col1":"sample-val-2", "col2":2.0} {"col1":"sample-val-3", "col2":3.0} {"col1":"sample-val
I upgraded my apps targetSdkVersion and compileSdkVersion to SDK 31, and started receiving the following crash in app in a service that updates widget in backgr
I just want to, at first, use PNGJ at the highest possible level to write a grayscale PNG with bit-depth 8. I am working from a BufferedImage. Here's a snippet
note: when I say root, I mean the folder where the download, documents, music, android folders are located, etc… Environment.getExternalStoragePublicDire
I would like to parallelize multiple ejb calls from a java client and maintain a single transaction. the ejb is exposed on an websphere application server, and
I want to use the EMF to do queries constructed at runtime on a String. If there is a way I would appreciate it if someone could tell me how and give a small ex
I'm trying to write a code that would let me check if the item inputted by the user is valid. The item has a format of: NNN-LL-NNNNNN, where N is a number and L
Hi I am running the below code to deploy a dataflow template in GCP. mvn compile exec:java \ -Dexec.mainClass=com.google.cloud.teleport.templates.TextIOT
On Selenium Webdriver, how I can retrieve entire text from div with Mark Tag? I need to verify that the word 'correctly' is present. Example HTML code: <div
I am fragment then I click to button I will transfer to another activity by using startActivity, then in activity I have a back button in screen, I want to back
I want to paint the walls of the pacman maze for my APCS A final. I am relatively new to graphics, as you can probably tell. The paintComponent() methods don't
Is there any way I'm able to format my code better too? I'm pretty new to programming and want to learn the best optimal way for this program to work. For examp
I am trying to learn how to detect cycle. I see many example of using recursion but I want to implement in iterative way. Here is my code public boolean cycleDe