Scene Description
The project uses the spring boot to carry on the development with the page, has downloaded the corresponding spring-boot-sample-web-jsp project from the GitHub on the Simples, after the simple modification life and death does not
Problem Description
In my mind, it's the dominant use of thymeleaf, because I've always wanted to know what Springboot recommended. In the ordinary Springboot project, the direct introduction of the thymeleaf of the dependency package can be a view
The review of Jsp/servlet technology is as follows
1. Requestdispatcher.forward ()
is on the server side, when using forward (), the Servlet engine passes HTTP requests from the current servlet or JSP to another servlet,jsp or normal HTML file, or
CKEditor Environment, please refer to the introduction of CKEditor3.6 tutorial in JSP
JSP pages submit form data using Rich Text control CKEditor
JSP pages use Rich Text controls CKEditor custom styles
JSP uses CKEditor and Ckfinder to implement
The first way:
In SPRINGMVC projects, there are times when you need to use multiple view formats, such as Jsp,velocity and Freemarker, to map to different view files through different request path configuration rules. Below I provide a way of
In JSP2.0, the addition of El language, can be used in El language, through the El language, to achieve the acquisition of data, further scriptlet code from the JSP page separate.
The El language is convenient for everyone, but sometimes you will
In the preparation of JSP programs, often encountered in the Chinese character processing problems, in the acceptance of request in the Chinese characters display a string of garbled. Online processing Method A basket, the following say I used two
1.web Project garbled problemWhen doing Web projects, there will be more or less the problem of Chinese garbled.For JSP page form submission, controller received garbled, save to database Chinese garbled and other problems, unified to give a few
P164 example 5-1 Common SQL statementsP178 Database connection Pool (1) The role of connection poolingStore multiple database connection objects, get 1 connections from the pool when the program needs it, and then return the connection pool when the
Project creation here is not the case, just start by displaying the user information list.Note: I'm using the Servlet3 annotation feature, so I don't need to configure Web. xmlThis is my project directory:First we create the entity class:public
1. Introduction of JSP InstructionJSP directives (Directive) are designed for the JSP engine, and they do not directly produce any visible output, but simply tell the engine how to handle the rest of the JSP page.Basic syntax format for JSP
JSP and upload encapsulationI. Introduction to JSP1.jsp is the Java Server Pages enables dynamic generation of HTML code in a page using Java as a scripting language2.jsp First and HTML differences, HTML can be placed directly in the browser to
12pageencoding= "UTF-8"%>34567 main Functions 89Ten OneImport= "Com.weeklyreport.www.TsetBean"%> Ainclude Action Example - - theclass= "Com.weeklyreport.www.TsetBean" > - - - + Output Information - + Aa standard JavaBean. There are several
JSP Implicit ObjectIn this chapter, we will discuss and learn about implicit objects in JSPs. These objects are Java objects that the JSP container provides to developers in each page, and developers can call them directly without explicitly
Related information:"21-Day Learning Java Web Development"Get a map that encapsulates all parameter values1. Obtain the map object that encapsulates all the parameter values by using the Getparametermap () method of the Request object.2. The Map
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service