Tagged: #jsp

Spring Boot + Spring Security + OAuth2

In this tutorial we explain how to secure a Spring Boot application using OAuth2. If you follow the steps in order, you’ll get a fully working secured application which authenticates user requests through Google API. Prerequisites: Eclipse IDE (neon release) Maven 4 Java 1.8 Spring Boot 2.0.0 1- Create maven project Open eclipse then create a new maven project and...

Create a Web Application With Spring Boot

This guide shows how to create a simple MVC web application using Spring Boot. Prerequisites: Eclipse IDE (neon release) Maven 4 Java 1.8 1. Create maven web project Open eclipse then create a new maven web project and name it as SpringBootWebJsp. The structure of the generated projects look like the following: 2. pom.xml After creating the web project, the...

Pass data from servlet to jsp

JSP is mostly used as the view component in any java-based MVC application, its main usage is to present dynamic data processed and generated from server-side controllers like servlet. In this tutorial, we explain the different ways of passing attributes/parameters from servlet to JSP, along with several examples specific for passing data types like: objects, arrays, lists and maps. 1....