-
Spring @PropertySource example
In Spring, you can use @PropertySource annotation to externalize your configuration to a properties file. In this tutorial, we will show you how to use @PropertySource to read a properties file and display the values with @Value and Environment.
轻舞肥羊2019-08-18【[Java]】
阅读更多 -
TestNG Groups Test
In this tutorial, we will show you how to do the group testing in TestNG.
轻舞肥羊2019-08-17【[Java]】
阅读更多 -
TestNG + Spring Integration Example
In this tutorial, we will show you how to test Spring’s components with TestNG.
轻舞肥羊2019-08-17【[Java]】
阅读更多 -
Java AWT Drawing rectangle, line and circle
The java.awt libraries are set of classes provided by Java in order to draw shapes on a window. The abbreviation AWT stands for Abstract Windowing Toolkit. Today, the library has been converted into a huge set of classes which allows the user to create an entire GUI based application. The visual appearance of these classes depends on the platform on which the application runs.
轻舞肥羊2019-08-17【[Java]】
阅读更多 -
CloudFlare + WordPress admin, Cache issue
Below is my website environment :
轻舞肥羊2019-08-17【[Java]】
阅读更多 -
Java Convert int[] to Integer[] example
Examples show you how to convert between int[] and its’ wrapper class Integer[].
轻舞肥羊2019-08-17【[Java]】
阅读更多 -
JSP jsessionid appear in CSS and JS link
In Spring MVC + JSP view page environment.
轻舞肥羊2019-08-17【[Java]】
阅读更多 -
Spring Data MongoDB Auto Sequence ID example
In this tutorial, we will show you how to generate an auto-incrementing sequence id in MongoDB + Spring Data environment.
轻舞肥羊2019-08-17【[Java]】
阅读更多 -
Find out your Java heap memory size
In this article, we will show you how to use the -XX:+PrintFlagsFinal to find out your heap size detail. In Java, the default and maximum heap size are allocated based on this – ergonomics algorithm.
轻舞肥羊2019-08-17【[Java]】
阅读更多 -
Grep for Windows findstr example
I love grep command on Linux, it helped to search and filter strings easily, always wonder what is the equivalent tool on Windows, and found this findstr recently.
轻舞肥羊2019-08-17【[Java]】
阅读更多 -
Eclipse + Tomcat java.lang.OutOfMemoryError: Java heap space
In Eclipse IDE, run a Java web application with Tomcat server plugin, but the console prompts
轻舞肥羊2019-08-17【[Java]】
阅读更多 -
jConsole JMX remote access on Tomcat
In this tutorial, we will show you how to use jConsole to remote access a Tomcat instance, for JVM monitoring stuff.
轻舞肥羊2019-08-17【[Java]】
阅读更多 -
Java Get nameservers of a website
In this tutorial, we will show you how to get the nameservers of a website using Java + dig command.
轻舞肥羊2019-08-17【[Java]】
阅读更多 -
Eclipse SimpleTagSupport was not found on the Java Build Path
Here is the development environment
轻舞肥羊2019-08-17【[Java]】
阅读更多 -
The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
Developing a Spring MVC, using a JSP file as a View resource.
轻舞肥羊2019-08-17【[Java]】
阅读更多