-
Spring Security : Check if user is from remember me cookie
This Spring Security example shows you how to check if a user is login from a “remember me” cookie.
2019-08-17【[Java]】
阅读更多 -
ClassNotFoundException: org.aspectj.weaver.reflect.ReflectionWorld$ReflectionWorldException
Spring + Hibernate4 integration, and transaction are managed by Spring AOP, example :
2019-08-17【[Java]】
阅读更多 -
Spring Security Remember Me Example
In this tutorial, we will show you how to implement “Remember Me” login feature in Spring Security, which means, the system will remember the user and perform automatic login even after the user’s session is expired.
2019-08-17【[Java]】
阅读更多 -
Spring MVC find location using IP Address (jQuery + Google Map)
In this tutorial, we show you how to find a location using an IP address, with the following technologies :
2019-08-17【[Java]】
阅读更多 -
Spring Data MongoDB : like query example
In SQL, the ‘like’ query is looks like this :
2019-08-17【[Java]】
阅读更多 -
Spring Data MongoDB : get last modified records (date sorting)
In Mongodb, you can use sort()to do the date sorting.
2019-08-17【[Java]】
阅读更多 -
Spring MVC + jQuery Autocomplete example
In this tutorial, we show you how to integrate jQuery autocomplete plugin with Spring MVC.
2019-08-17【[Java]】
阅读更多 -
How To Get HTTP Request Header In Java
This example shows you how to get the HTTP request headers in Java. To get the HTTP request headers, you need this class HttpServletRequest :
2019-08-17【[Java]】
阅读更多 -
Spring Security + Hibernate XML Example
In this tutorial, we will show you how to integrate Hibernate 4 in Spring Security, XML configuration example.
2019-08-17【[Java]】
阅读更多 -
Gradle Spring 4 MVC Hello World Example
In this tutorial, we will show you a Gradle + Spring 4 MVC, Hello World Example (JSP view), XML configuration.
2019-08-17【[Java]】
阅读更多 -
Ant Spring MVC and WAR file Example
In this tutorial, we will show you how to use Ant build script to manage a Spring MVC web application project, create a WAR file and deploy to Tomcat.
2019-08-17【[Java]】
阅读更多 -
Spring Caching and Ehcache example
In this tutorial, we will show you how to enable data caching in a Spring application, and integrate with the popular Ehcache framework.
2019-08-17【[Java]】
阅读更多 -
Import Spring XML files into @Configuration
This is common to mix XML configuration into Spring @Configuration, because developers are used to the XML namespaces. In Spring, you can use @ImportResource to import Spring XML configuration files into @Configuration :
2019-08-17【[Java]】
阅读更多 -
Spring Profiles example
Spring @Profile allow developers to register beans by condition. For example, register beans based on what operating system (Windows, *nix) your application is running, or load a database properties file based on the application running in development, test, staging or production environment.
2019-08-17【[Java]】
阅读更多 -
Spring MVC Abstract Controller example
For self-reference, this article shows you how to create a Abstract class for Spring Controller, or a template method design pattern.
2019-08-17【[Java]】
阅读更多