-
jsoup Basic web crawler example
A Web Crawler is a program that navigates the Web and finds new or updated pages for indexing. The Crawler starts with seed websites or a wide range of popular URLs (also known as the frontier) and searches in depth and width for hyperlinks to extract.
Date: 2019-08-11 View: 2130
-
Java Swing Draw shapes dynamically example
In this article we create an application that randomly puts shapes on a JPanel. The user can choose between the different shapes our application supports as well as the amount that will be drawn. As a design decision our application can make circles and stars. You can download the example at the end of the article and experiment with more shapes, random colours, random sizes etc.
Date: 2019-08-11 View: 2031
-
Java Swing – Keep dialog window up
The most common (and simple) way to implement a dialog in our application is the JOptionPane class. In this article we will discuss how to “overwrite” the default behaviour of JOptionPane that closes the dialog window when the user clicks a JOptionPane-created button.
Date: 2019-08-11 View: 1850
-
Java RMI Distributed objects example
Image Source: Wikimedia.org
Date: 2019-08-11 View: 1666
-
Eclipse Ctrl + Shift + O in IntelliJ IDEA
In Eclipse, you press CTRL + SHIFT + O “Organize Imports” to import packages automatically. For IntelliJ IDEA, if you press CTRL + ALT + O “Optimize Imports”, it just removes some unused imports, never imports any package. And the worst is you need click on the class name and press ALT + ENTER keys to import the package one by one.
Date: 2019-08-11 View: 1844
-
Spring Boot file upload example
This article shows you how to upload a file in Spring Boot web application.
Date: 2019-08-11 View: 2405
-
IntelliJ IDEA How to know this class belongs to which JAR
For example, how to find out this FileUploadBase class belongs to which JAR or dependency?
Date: 2019-08-11 View: 2063
-
Eclipse – How to know this class belongs to which JAR
For example, I want to know this SpringBootApplication class belongs to which JAR or dependency :
Date: 2019-08-11 View: 1984
-
Spring Boot Configure maxSwallowSize in embedded Tomcat
In Spring Boot, you can’t configure the embedded Tomcat maxSwallowSize via the common application properties, there is no option like server.tomcat.*.maxSwallowSize
Date: 2019-08-11 View: 3474
-
Oracle PL/SQL – After DELETE Trigger example
This article shows you how to use AFTER DELETE TRIGGER, it will fire after the delete operation is executed. In real life scenarios, it is mostly used for purposes like:
Date: 2019-08-11 View: 3337
-
Spring @ExceptionHandler and RedirectAttributes
Since Spring 4.3.5 and 5.0 M4, it supports RedirectAttributes argument in the @ExceptionHandler method.
Date: 2019-08-11 View: 2063
-
Spring Boot file upload example Ajax and REST
This article shows you how to upload files in Spring Boot web application (REST structure), using Ajax requests.
Date: 2019-08-11 View: 2824
-
cURL Post JSON data to Spring REST
This article shows you how to use cURL command to POST JSON data to a Spring REST API.
Date: 2019-08-11 View: 2971
-
cURL POST request examples
Some cURL POST request examples for self reference.
Date: 2019-08-11 View: 2745
-
jQuery Ajax submit a multipart form
A simple jQuery Ajax example to show you how to submit a multipart form, using Javascript FormData and $.ajax()
Date: 2019-08-11 View: 2178


