When doing this, I found that I didn't have enough basic knowledge of java, so I learned a lot in this process. For example, private variables and member variables, that is, how to set variables that can be referenced by the entire project in java. In addition to these, I learned how to use the listView control of Android studio and how to grab ...
Posted on Fri, 03 Apr 2020 10:23:57 -0700 by GrizzlyBear
1, Template engine supported by SpringBoot
1. Tymeleaf (official recommendation)
Why isn't JSP recommended for SpringBoot?
1. JSP is more intrusive to the page.
2. The management of web container version.
2, About thymeleaf
Perfect separation of front and back ends
3, Realize MVC
The document ...
Posted on Fri, 03 Apr 2020 00:21:19 -0700 by Saphod
1, JSP page section
To obtain the pictures in the database, you need to use action, as follows
<img alt="Head portrait" src="<s:url action='ShowUserProfilePicture'/>"/>
As you can see, we can use an action to return a URL to display the picture.
If parameters are needed, we set an s:param label body after the ac ...
Posted on Wed, 01 Apr 2020 13:46:12 -0700 by ell0bo
in MVC Model, Model or Map is usually used to store Model data in Request domain or Session domain, so that the Model data put in the back-end controller can be obtained from the front-end page of WEB project. The set attributes often need to be rendered into a table form on the page. The following record is abou ...
Posted on Wed, 01 Apr 2020 11:39:34 -0700 by Undrium
Custom tag, my first custom tag!
Two steps in total
Write a java class to implement the tag interface, and move the java code in the jsp page to this class (label processor class)
Write a tag library descriptor (tld) file, in which the tag handler class is described as a tag
I. Case Study.
Output client IP
Posted on Tue, 31 Mar 2020 16:16:28 -0700 by ken72
HTML comments can be used in jsp
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" c ...
Posted on Fri, 27 Mar 2020 10:12:48 -0700 by adamdyer
Original address: http://www.work100.net/training/monolithic-frameworks-spring-mvc-form-tags.htmlMore tutorials: Beam cloud - free course
Form label Library
Chapter in text
Declaration form label
Check box (multiple choices)
Posted on Sat, 21 Mar 2020 09:27:37 -0700 by ShaolinWood
Situation: I want to batch insert the data in the table. Use the check box. When the check box is selected, how can I get the data of the row in the check box.
Like this, I want to get the title, author and other information, how to get it? Remember here.
jsp page, my form is sauce, I want to tak ...
Posted on Tue, 17 Mar 2020 08:11:45 -0700 by VapiD
Recently, spring MVC is used in the company's projects, so I have to learn from it. I believe you should see a lot of spring configuration files, so what do you know about the head of configuration files? Let me share some of my opinions with you:
First, take a familiar header configuration file:
Posted on Mon, 16 Mar 2020 21:23:26 -0700 by cshinteractive
The difference between WEB and JAVA in Spring (based on maven):
Different jar packages:
Normal java project:
Posted on Sat, 14 Mar 2020 09:09:58 -0700 by scrypte