Struts2 (X. display photo list on modification page and add delete photo function)

1, Show photo list function The general processing method in struts 2:First, in action, prepare the data and go to jsp to display 1.UserAction /** * Click modify user to jump to modify user interface * Prepare photos for users to display in modify.jsp * @return * @throws SQLException * @throws ClassNotFoundException ...

Posted by bruceleejr on Fri, 31 Jan 2020 18:08:49 +0100

Setting up a Web course in Shandong University

Some insights about the web, the web course really reaps a lot (although the final score is not ideal). From the beginning of the simple coping course to watching the online learning, it can be said that the course can still reap a lot if you study carefully, so if you are browsing this blog post is SDU ...

Posted by lovelys on Fri, 31 Jan 2020 04:51:11 +0100

[Winter vacation 2020-JAVA] day12-Fiter&Listener

Write in front: Recently, I have been reviewing the previous content and learning algorithms, so I did not continue to learn new knowledge, so I stopped for a longer period of time and formally returned to learn new knowledge from today! Filter: Filter Concepts: Life's filters: water purifiers, a ...

Posted by popcornplya on Thu, 23 Jan 2020 03:15:33 +0100

Using cookie s and filter s to write automatic login pages

Flowchart of how filter works:   Flowchart of the automatic login page: Many web programs do not need to log in again when they access the same web program for a certain period of time (such as a week) after their first logon, but instead go directly to the main page of the program (native only).The key to realizing this f ...

Posted by AudiS2 on Sat, 11 Jan 2020 18:24:40 +0100

java integrated pageoffice to open word file online, and set bookmark text color and background color with js

1, Core code 1: First you need to navigate to the location of the bookmark 2: To set the text color and background color of bookmark, vba macro is needed. 2, Specific implementation process 1. Download the integration file, introduce the jar package and configure the web.xml on the official website http://www.zhuzhengsoft.com/dowm/ G ...

Posted by renj0806 on Wed, 08 Jan 2020 05:49:50 +0100

Third party login - Baidu

Third party login - Baidu Log in from a third-party baidu account Prerequisite: have its own server, domain name. First register an account in Baidu Developer Center Then enter the application management interface under the account, Create a project, and the API Key and Secret Key will be given after the project is cre ...

Posted by sureshmaharana on Fri, 03 Jan 2020 12:23:03 +0100

hadoop installation and configuration

hadoop installation and configuration First, decompression. 2, Modify Hadoop configuration file 4. Configure environment variables 5. Copy the installation package 6. Start cluster 7. Cluster status 8. Monitoring page 9. Shut down the cluster First, decompression. tar -zxvf hadoop-2.8.2.tar.gz 2, Modify Hadoop confi ...

Posted by gr8dane on Sun, 29 Dec 2019 19:56:32 +0100

JavaScript dynamically gets server time

JavaScript dynamically gets server time Many Java Web applications need to obtain server time dynamically, such as the company's attendance system, ticket booking system and so on. The renderings are as follows: How to achieve it? Preparation Eclipse creates a new Dynamic Web Project, in this case, ShowTime Remember to ...

Posted by Quilmes on Tue, 24 Dec 2019 16:38:23 +0100

Java Web Learning -- Servlet related interfaces and classes

Absrtact: This paper mainly studies the Servlet related interfaces and classes. The interface and class of Servlet Three ways There are three ways to implement a Servlet: Implement the javax.servlet.Servlet interface. Inherit javax.servlet.GenericServlet class. Inherit javax.servlet.http.HttpServlet class. Implement Servlet interface Servlet in ...

Posted by Antnee on Wed, 18 Dec 2019 13:00:22 +0100

Learning Notes - Getting Started with Spring MVC

Overview of MVC In the early development of Java Web, the operations of display layer, control layer and data layer were all handled by higher JSP or JavaBean, which was called Model1: malpractice There is a strong coupling between JSP and Java Bean, and Java and HTML code are also coupled together Requires that developers not only master Ja ...

Posted by juliston on Sat, 07 Dec 2019 15:41:45 +0100