Activiti Form (Form key), activitiform
1. Set Form key
2. Obtain the Form key based on the task id.
TaskFormData formData = formService.getTaskFormData(taskId);;String formKey = formData.getFormKey();
3. Application
The Application of Form key
The Interceptor is triggered when ajax initiates an action.
A problem occurred during project creation. When ajax initiates an action and triggers the interceptor, the returned value will not initiate a jump if it does not receive the same result,
Talking about Hibernate relationship ing (4)
Following the previous blog
Multi-to-Multi-Association ing (unidirectional)
For multi-to-multi-object ing, you need to add a new table to complete the basic ing.
Hibernate automatically generates an
Follow ZHONGHuan to learn the design mode-singleton ModeFollow ZHONGHuan to learn the design mode.
As the object creation mode, the singleton mode ensures that a class has only one instance and is self-instantiated and provides this instance to the
Combination of design patternsComposite) Combine objects into a tree structure to represent the "part-whole" hierarchy. The combination mode ensures consistency between the use of a single object and a composite object.
There is such an
Java inheritance and Polymorphism
The principle of direct calling of java methods may be incorrect.
When a method of an object is called directly, the object will obtain the class information. The object will be found in the class information object.
Implement two super-large addition operationsA pen exam ~ Implement two addition operations for super-large data. These two super-large numbers mean that the number of long data cannot be installed. It is about 100 bits at the top.
This question
[Spring Data Repositories] study notes -- use existing repository and springrepository
The following are some notes about Spring Data Repositories in Spring-Data-mongoDB. Memo!
I feel that I am still familiar with official materials.
Spring Data
+,-, & #215;, & #247; number operator Addition
1) Using bitwise operations, sum1 = a ^ B is equivalent to the addition of not carry, because 0 + 1 = 1.1 + 0 = 1.1 + 1 = 0 (because not carry) 0 + 0 = 0 exactly refers to the OR operation
2) sum2 =
Two digits in a string appear only once, and the rest are in pairs.
Of course, if the problem is that there is only one different number, and other numbers are the same in pairs, then all numbers are exclusive or this number is obtained.
This time
Common checkbox operationsSelect All (based on the check option selected, set all or all of the checkboxes to be deselected)
Function SelectAll (checked, checkbox_id) {var checkboxs = document. getElementsByName (checkbox_id); for (var I = 0; I
If you write a list and click an image to preview the image
Can be written in the form of inheriting AlertDialog:
Click a chart:
Public void onClick (View v) {viewBigsizeBmp (ImageView) v ). getDrawable (), Constants. preview_bmp _dir_suffix);}
The discussion of cross-origin problems in WebLogic12.1.1 and solutions to cross-origin problems in some common middleware, weblogic Middleware1. Problem Description
The middleware WebLogic12.1.1 was installed at the site in Yangzhou. According to
Automatic slf binding implementation process judgmentThe binding implementation class is based on the agreed principle: the following steps are taken to determine the implementation class:1. the LoggerFactory scan implementation class path has
Java _ POI
Here we use apache poi to read excel
1. Create a javaproject project: TestExcel
2. Import the package
Import all the jar files in the root directory, lib, and ooxml-lib.
4. Read excel
Import java. io. file; import java. io.
Design Pattern Learning -- Factory MethodWhat
Factory Method: defines an interface for object creation, so that sub-classes can decide which class to instantiate. Factory Method delays the instantiation of a class to its subclass.
Why
Factory
Java upward and downward transformations (for example)
Java upward and downward transformations (for example)
Examples of upward and downward Java transformation compiled by staying up late are very easy to understand ~~~~
1. Upward Transformation
Design Pattern learning-Abstarct FactoryWhat
Abstarct Factory: provides an interface for creating a series of related or mutually dependent interfaces without specifying their specific classes.
Why
Abstarct Factory is a type of creation design
Usage of Spring Scheduled TimerAbstract: A Timer is often used in coding. It specifies to execute a code segment every one hour, or at every day. If java. util. Timer is used to do this kind of thing, there is no need to repeat the wheel.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service