Preliminary use of struts

Environment construction: 1... / jar package configuration for pom.xml 2.web.xml configuration 3. Configuration of struts. XML Struts. XML (core configuration file) Configuration of struts-base.xml Configure the web.xml file (Note: Ctrl+Shift+t is ...

Posted on Wed, 21 Aug 2019 20:24:45 -0700 by pauleth

Definition and Use of Three Directives of JSP/Servlet|| jsp

JSP Directive The instruction in the JSP page is how the JSP page notification engine handles its own information. Grammatical Format: <%@ directive attribute = "value" %> Instructions can have many attributes, which exist as key-value ...

Posted on Sun, 18 Aug 2019 03:52:56 -0700 by Entanio

Date and Collection Framework

1. Date operation in java 1970-1-1 0:0:0 Msec java.util.Date encapsulates a long-type millisecond // Current system time Date date = new Date(); System.out.println(date); //Gets the number ...

Posted on Fri, 16 Aug 2019 05:52:13 -0700 by andrewcb

Shiro Learning 02:Shiro Integrates Java EE

Shiro Integrates Java EE Project preparation Integrated Shiro Configure Shiro filters and listeners in `web.xml' Configure interception rules in `shiro.ini' Implementation Principle of Landing Filter `authc' Using Shiro tags in jsp Project preparation Create a new MAVEN Web project and intro ...

Posted on Mon, 12 Aug 2019 03:43:33 -0700 by alanho

springboot-jsp jar problem

[Previous Summary] A recent project was built with the springboot+jsp structure, but when publishing a production environment, it was necessary to use maven as a jar package, but the default configuration at the beginning was not successful.The following article is the specific solution process. 1. Project structure Base, abnormal phenomenon ...

Posted on Sat, 10 Aug 2019 21:34:54 -0700 by eddjc

SSM Framework Learning-Spring MVC

SSM Framework Learning (3) - Spring MVC I. MVC Model II. Sring Web MVC Brief Introduction and Work Flow 2.1 Introduction to Spring Web MVC 2.2 Spring Web MVC workflow 3. Building Spring Web MVC working environment 4. Annotation-based spring development V. Receiving and Passing Page Value 5.1 Page ...

Posted on Tue, 06 Aug 2019 02:16:50 -0700 by flycast

Strts2 Result View and Action Type

Result View 1. Result View Concept The return value of action method is String type. It returns the name of the corresponding result view. In action class, return keyword is used to express it. In corresponding struts.xml file, tag is used to express it.2. Result View Properties <result name="succe ...

Posted on Sun, 04 Aug 2019 00:15:57 -0700 by first_lady_the_queen

Java-SSM Framework Building-Spring MVC Framework Building

Spring MVC is responsible for the presentation layer that interacts with the page, so in addition to configuring its own spring mvc. xml, it also needs to configure the front-end controller in web.xml. Following is the construction of Spring MVC framework Configure web.xml: Configure the front-end cont ...

Posted on Wed, 31 Jul 2019 05:54:02 -0700 by joebWI

struts--CRUD optimization (picture upload)

1. Upload Method Upload to the specified file directory, adding a mapping relationship between the server and the real directory to decouple the relationship between the uploaded file and tomcat) File Server 2.web Code Optimization 1 package com.yuan.crud.web; 2 3 import java.io.BufferedInputStream; 4 import java.io.BufferedOut ...

Posted on Tue, 30 Jul 2019 11:50:24 -0700 by FUNKAM35

helloworld of spring mvc in java

This article focuses on the basic use of springmvc, taking the helloworld project as an example. Directory structure: 1. New web project: springmvc_helloworld 2. Import the jar package under WebRoot\WEB-INF\lib commons-logging-1.1.1.jar spring-beans-4.1.6.RELEASE.jar spring-context-4.1.6.RELEASE.jar spring-core-4.1.6.RELEASE.jar s ...

Posted on Tue, 30 Jul 2019 10:19:40 -0700 by raan79