Single sign on CAS6 - customized user information returned by the server

principle The returned user information is configured in deployerConfigContext.xml Since you want to customize the returned user information, just inherit org.jasig.services.persondir.support.stubbersonattributedao 1. Create com.jadyer.sso.authentication extensions stubbersonattributedao and copy getPerson() method Use @ ...

Posted by faifas on Thu, 05 Dec 2019 04:19:41 -0800

Java web creates a public servlet

Java web creates a public servlet, subtracts the tedious doget and dopost, and takes a good look at it. For beginners, each time the front-end data comes, they need to create a new class to create a doget and dopost method. In fact, Tiezhu played the same way when he was in college. Later brother Tiezhu began to be serious. He wanted to learn s ...

Posted by RSmiroldo on Wed, 04 Dec 2019 16:23:11 -0800

Spring guide (learn about view templates)

Understanding view templates Model view controller (MVC) software design pattern is a method used to separate concerns in software applications. In principle, application logic or controller is separated from technology used to display information to users or view layers. This model is a communication tool between controller and view layers. Wi ...

Posted by cdherold on Tue, 03 Dec 2019 15:56:18 -0800

springboot 2.0.8 jump to jsp page

Spring boot project creation tutorial https://blog.csdn.net/q18771811872/article/details/88126835 springboot 2.0 jump to html tutorial https://blog.csdn.net/q18771811872/article/details/88312862 jsp+html jump integration https://blog.csdn.net/q18771811872/article/details/88343672 This is a tutorial to jump to jsp page separately. I will intr ...

Posted by PickledOnion on Sun, 01 Dec 2019 05:36:45 -0800

Data encapsulation of struts 2

The struts 2 framework is a web framework, and provides the function of data subpackage Data encapsulation property driven encapsulation set method provided by property driven encapsulation (not commonly used) Let's take an example to explain: Let's start with a simple user form submission page Key jsp code: <form action ...

Posted by Daniel Exe on Sat, 30 Nov 2019 19:23:40 -0800

springboot 2.0.8 jump to html page

Spring boot project create link https://blog.csdn.net/q18771811872/article/details/88126835 Spring boot 2.0 jump to jsp tutorial https://blog.csdn.net/q18771811872/article/details/88342298 jsp+html jump integration https://blog.csdn.net/q18771811872/article/details/88343672   After the successful creation of springboot, continue to write a ...

Posted by jgmiddel on Sat, 30 Nov 2019 04:44:32 -0800

jquery ajax submits data to the backend

Hello everyone, today brother Tiezhu brings you a piece of jquery ajax to submit data to the back-end teaching. The front-end data submitted by students who are new to Java Web are basically submitted in form form form, which is not very fun for me anyway. But JavaScript ajax writes a lot, looks headache. jquery ajax is easy to understand and l ...

Posted by johnsworld on Thu, 28 Nov 2019 06:51:53 -0800

nginx+tomcat to configure load balancing

The first step is to download tomcat and configure the multi tomcat running environment; ① download tomcat, extract two copies to D:\tomcats directory, and rename them: tomcat_8080 tomcat_8090 ② replace the Catalina home in startup.bat and catalina.bat under the bin directory of tomcat_withcatalina home ③ replace the Catal ...

Posted by dcooper on Wed, 27 Nov 2019 09:54:04 -0800

Implementation steps of spring MVC project

1. Add maven dependency (pom.xml) <dependencies> <!-- Servlet API rely on --> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <scope>provided</scope> </dependency> <!-- jstl --> <dependency ...

Posted by kee2ka4 on Wed, 27 Nov 2019 08:32:35 -0800

The project of building springboot by eclipse

Record a spring boot experience springboot project creation Here's a way to share it with other bloggers https://blog.csdn.net/mousede/article/details/81285693 directory structure       Next, write a startup class Startup class: SpringBootDemoApplication      package com.start; import org.mybatis.spring.annotation.MapperScan; im ...

Posted by sarika on Wed, 27 Nov 2019 06:19:01 -0800