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
Struts 2 framework knowledge points, although divided into several sections, feel that the content is still quite a lot, but you are only introductory, to further improve yourself, you have to have a persistent learning heart, the final content I will talk about in this blog, so the length may be a bit long, I hope you can. Read with patience.
Posted on Sun, 25 Aug 2019 23:31:41 -0700 by tomhath
The last section has learned how to build the development environment of Struts 2. In this blog, we continue to go deep into Struts 2 and learn about the interceptor of Struts 2 framework.
Firstly, we analyze the source code of the filter configured in the web.xml file.
In the StrutsPrepareAndExecuteFilter source code, there is an init() method ...
Posted on Sun, 25 Aug 2019 23:12:45 -0700 by cityguru
Yesterday, some fans asked me what I should learn in the later stage of Java. I told them that they should learn frameworks. However, for a large number of frameworks, most people don't know which one to start with. My personal learning suggestion is: first learn SSH (Struts 2, Hibernate, Spring), then learn Spring MVC, Spring Data ...
Posted on Sun, 25 Aug 2019 20:59:32 -0700 by Crystal Dragon