Java Serialization: Can Static Values Be Serialized?
In Java, static values cannot be serialized directly. Serialization is the process of converting an object into a byte stream…
In Java, static values cannot be serialized directly. Serialization is the process of converting an object into a byte stream…
Hello guys, In this article, I will describe where you will keep the hibernate.cfg.xml file in your project directory. It’s…
Hello guys, today we will show a common error while working on java based projects. This error is “java.lang.NoClassDefFoundError“. We…
Hello friends, Sometimes when we are working with webapp in Eclipse, may not create the web.xml file by default. As…
Hello friends, Today I will show you how to handle the error or display customized error messages in JSP and…
Hello friends, Today I am going to show you how to send redirect from Java Servlet. In this example, we…
Hello friends, Today I am going to show you how to display a list of objects using JSP and servlet.…
Hello friends, Today I am going to show you how to display data from the MySQL database using JSP and…
Hello friends, Today I am going to show you how to insert data in the MySQL database using JSP and…
Hello, Today we are going to build a web scraper. Although All of you know the term, I just want…
Is java pass by reference? The answer is NO. Java is always pass-by-value. Today we will learn java pass by reference and java pass…
Today we will learn, What is a NullPointerException, and how do I fix it? So, let’s start: What is NullPointException…
Serialization Serialization allows to convert an object to a stream, for sending that object over the network OR Save to file…
NullPointException NullPointException is a RunTimeException. NullPointException is thrown when the value of a reference variable or object is null. How…
IOException In Java, IOException is one of the most common Exceptions when the program operates between input and output.IOException is used for input…
Exception Handling in Java is a powerful mechanism. Exception handling is done to handle the run time error of the program…
Hello guys! In this tutorial, we have figure out the getters and setters method and their features in Java. We…