Struts2 configuration and a simple example
Note warehouse: https://github.com/nnngu/LearningNotes
This article mainly talks about how to use Struts2 in IntelliJ IDEA. The version of Struts2 used in this article is 126.96.36.199, 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
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
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
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
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.
Posted on Fri, 31 Jan 2020 15:18:17 -0800 by doofystyle
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
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.
Posted on Sat, 04 Jan 2020 02:33:09 -0800 by MetaDark
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.
Posted on Wed, 30 Oct 2019 10:26:01 -0700 by latino.ad7
<%@ page contentType="text/html; charset=GBK" language="java" errorPage="" %>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html x ...
Posted on Wed, 02 Oct 2019 10:11:20 -0700 by dreamscape
1. Use Structs core filter to intercept all requests in web.xml.
Posted on Tue, 03 Sep 2019 02:46:22 -0700 by pullaratt