Two ways for struts 2 to accept parameters (property driven and model driven)

definition: In struts 2, there are basically two ways to transfer data and action (control layer), one is property driven, the other is model driven. Attribute driven Attribute correspondence of basic data type: It is the name property of html tag on the Web page or the getter/setter corresponding to the property. When the page is submitted ...

Posted on Mon, 04 May 2020 10:34:45 -0700 by laurton

Use bsu to install and upgrade weblogic patch

Download patch pack View weblogic's current patch list Install patches Uninstall patch The new version of weblogic upgrade uses OPatch, and the old version of weblogic upgrade requires bsu.sh 1. Download the patch package Find the patch package according to the link address in the solution to the vulnerability report scanned by gree ...

Posted on Sat, 02 May 2020 11:47:36 -0700 by giannis_athens

Struts2 configuration and a simple example

Struts2 configuration and a simple example Note warehouse: https://github.com/nnngu/LearningNotes brief introduction This article mainly talks about how to use Struts2 in IntelliJ IDEA. The version of Struts2 used in this article is 2.5.14.1, which is a little different from other versions. It has been explained in the article. Environmental S ...

Posted on Sun, 05 Apr 2020 06:39:25 -0700 by radhoo

Java single application - common framework - 07.Spring MVC - form tag library

Original address: http://www.work100.net/training/monolithic-frameworks-spring-mvc-form-tags.htmlMore tutorials: Beam cloud - free course Form label Library Serial number Chapter in text video 1 Declaration form label - 2 Form labels - 3 Textbox - 4 Password box - 5 Text domain - 6 check box - 7 Check box (multiple choices) - ...

Posted on Sat, 21 Mar 2020 09:27:37 -0700 by ShaolinWood

[SSH] establishment of integrated development environment for SSH Framework

This paper summarizes the main steps of setting up the environment before using SSH framework. The environment built here is Struts2+Spring4+Hibernate5. The integration of the new version is also similar. First of all, I will review the general implementation of each layer involved in SSH Framework ...

Posted on Sat, 22 Feb 2020 04:13:26 -0800 by LostKID

Jump between servlets

Back to home This is just a simple understanding, because now the mainstream development mode can hardly use the Servlet, or it only comes with the framework, so it's packaged. Servlet s can jump to each other, so that multiple servlets can be used for modularization. Servlet jump is used in MVC (model ...

Posted on Sun, 09 Feb 2020 07:20:20 -0800 by pets2soul

Struts 2 (9. Use layer component to realize picture display function)

1. Introduction to layer front-end components Layer is a well-known web shell layer component. It has a full range of solutions and is dedicated to serving developers at all levels. Your page will easily have rich and friendly operation experience. http://sentsin.com/jquery/layer/ Usage methodhttp://sentsin.com/jquery/layer/ext.html Introducing ...

Posted on Fri, 31 Jan 2020 15:18:17 -0800 by doofystyle

java annotation

The meaning of Annotation in Chinese. Java annotations are used to provide metadata for Java code. Metadata refers to the data used to describe data. Generally speaking, it is the data that describes the relationship between codes or the internal relationship between codes and other resources (such ...

Posted on Thu, 16 Jan 2020 22:26:25 -0800 by georgepapa

Two ways of getting Servlet api from Struts2 to solve the problem of obsolete ParameterAware

servlet API is obtained through ActionContext Struts2 encapsulates HttpServletRequest,HttpSession and ServletContext, and constructs three Map objects to replace the above three objects. In Action, you can directly use the Map objects corresponding to HttpServletRequest, HttpServletSession, and ServletContext to save and read objects. ActionCo ...

Posted on Sat, 04 Jan 2020 02:33:09 -0800 by MetaDark

File upload and underlying code

File upload and underlying code There are three ways to upload files: 1. Upload to tomcat server 2. Upload to the specified file directory, add the mapping relationship between the server and the real directory, so as to decouple the relationship between the uploaded file and the tomcat file server. 3 ...

Posted on Wed, 30 Oct 2019 10:26:01 -0700 by latino.ad7