Java Web JSP
9.JSP
reference resources: https://www.bilibili.com/video/BV12J411M7Sj?p=22
9.0 introduction
Many predecessors said that because of the separation of front and back ends, MVC has essentially become MC, JSP has no value of learning. Therefore, the content of JSP is only a superficial understanding, even for JSTL tags.
9.1 what is JSP
Java Serv ...
Posted by reivax_dj on Fri, 24 Apr 2020 01:51:15 -0700
The implementation of Servlet file upload
1. Three common file upload components: Apache commons upload, Orialiy – COS – 2008(); smart upload2. Use commons upload to develop file upload function1) . download the jar package and dependent package of Commons upload and add them to the project project2) . modify the html form, and set the content code type of the form to multi ...
Posted by predator on Wed, 22 Apr 2020 10:42:33 -0700
The use of FilterConfig in Servlet
Original link: http://www.yiidian.com/servlet/filter-config.html
The Web container creates an object for FilterConfig. This object can be used to get the configuration information of the Filter from the web.xml file.
1. Method of filterconfig interface
There are four methods in the FilterConfig interface:
public void init (FilterConfig config) ...
Posted by daiwa on Mon, 20 Apr 2020 08:38:07 -0700
CSP201412-1: access control system
Introduction: CSP (http://www.cspro.org/lead/application/ccf/login.jsp) It is a "computer professional qualification certification" examination initiated by China Computer Society (CCF), aiming at the ability certification of professionals in computer software development, software testing, information management and other fields. Cer ...
Posted by er0x on Sun, 19 Apr 2020 08:07:10 -0700
[java framework] Struts2 -- result view and parameter receiving of struts2
1. Results view of struts 2
Each atcion of Struts2 can have different result return methods. There are 11 ways to return the result type attribute in result. The main and most commonly used jump modes are redirect, redirectAction and pather.
The type of the specific jump method can be found in struts-default.xml, as follows:
<package name=" ...
Posted by budz on Sat, 18 Apr 2020 02:10:09 -0700
Detailed tutorial of spring MVC framework
Although this section is simple, it's very tedious. You can first understand the use of @ RequestMapping. It doesn't matter if you don't understand it very well. First, continue to learn. When you look back again, you will find that @ RequestMapping is so simple!
@RequestMapping
@RequestMapping can be used on controller classes or controller me ...
Posted by vbnullchar on Fri, 17 Apr 2020 08:51:37 -0700
Struts 2 built-in type converter
For Web applications, all request parameters are of string type. In traditional Web applications, we often need to manually code, convert the received parameters to various types of Java, or convert various types of Java parameters to strings and send them to the client. In the framework of struts 2, a powerful type con ...
Posted by IMP_TWI on Tue, 14 Apr 2020 12:14:17 -0700
JSP Standard Tag Library: JSTL
JSTL (JSP Standard Tag Library), JSP standard tag library, can be embedded in JSP pages to complete business logic and other functions in the form of tags.
The purpose of jstl is to replace script code in jsp page as well as el.
JSTL standard tag library has five sub libraries, but with the development, its core library is often used at present ...
Posted by feyd on Thu, 09 Apr 2020 10:51:00 -0700
Bootstart select picker dropdown fuzzy query
Recently, I have been using bootstrap to write a few blogs....
bootstrap selectpicker is a relatively simple component of a drop-down box in bootstrap. The effect is as follows:
Attach the api link on the official website, http://silviomoreto.github.io/bootstrap-select/ (there seems to be something wrong with the offic ...
Posted by surreal5335 on Sun, 05 Apr 2020 13:09:49 -0700
Developing web project with eclispe
1. After opening eclipse, create a new web project:
new -- dynamic web project
Click Finish to finish the new project!
Adjust font size:
window -- preferences
Select basic,
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-i ...
Posted by jack5100nv on Sat, 04 Apr 2020 03:19:53 -0700