Freemarker custom tag
1. Error description
freemarker.core.ParseException: Unexpected end of file reached.at freemarker.core.FMParser.generateParseException(FMParser.java:4702)at freemarker.core.FMParser.jj_consume_token(FMParser.java:4573)at
5 inheritance 5.1 class, superclass, and subclass
Use super to access the parent class. Because the subclass cannot directly access the superclass private domain, the subclass must call the superclass constructor to initialize the superclass private
I found a piece of code from Kun Ge yesterday, as shown below:
To explain this code, after the end of the layer D query, assign the result of the datatable query to the attributes of the object and then return the object process. kun asked me
The iterator mode is symbiotic with the set. Generally, as long as we implement a set, we need to provide the set iterator at the same time, just like the Collection in java, list, Set, Map, etc. These sets all have their own iterators. If we want
What does Droppable mean? To be precise, what does easyui mean. But it doesn't matter. There is no need to tangle with these details. Based on the demo effect on the official website, simply define it as (throwing!Droppable
Droppable and draggable
The template method mode is the behavior mode of the class. Prepare an abstract class, implement part of the logic in the form of a specific method and a specific constructor, and then declare some abstract methods to force the subclass to implement
This model is one of the most commonly used parallel modes. For more information about Nginx source code, visit this blog to learn about http://blog.csdn.net/marcky/article/details/6014733. From an ideological point of view, it mainly consists of
The simple Factory mode is the class creation mode, also called the Static Factory Method mode. The simple factory mode is determined by a factory object to create a product instance. The following is a simple factory UML
Spring aop has JDK dynamic proxy and CGLIB, and can also use ASPECTJ.
Its JDK dynamic proxy is the interface proxy, while cglib is the proxy for the class. AspectJ is woven into the source code class.
The cglib proxy is used to call the
1. multithreading Basics
Thread communication refers to the mechanism by which threads exchange information. There are two communication mechanisms: Memory Sharing and message transmission.Memory SharingIt refers to the implicit communication
Preparation tools
Hibernate3.5.3
Eclipse Java ee ide for Web Developers. Version: Helios
MySQL5.5
Environment configuration setup
Install and configure Eclipse, JRE, and other environments.Configure system environment variables
Download the
Batch Data Processing refers to processing a large amount of data in a transaction.
You can perform batch operations at the application layer by using the following methods:Through Session
Using HQL
Use StatelessSession
Use the jdbc api (as long as
Domain Model:Relational Data ModelThe n-n association must be similar to the 1-n ing. The key sub-element must be added to the set element, and the foreign key of the CATEGORIES_ITEMS table referenced in the CATEGORIES table must be CATEGORIY_ID.
The annotator mode is another design mode in JDK that uses a lot of resources. The last one is the observer mode (which is widely used in Swing). A good API design in the industry is inseparable from the common design mode, we usually refer to the
What is the responsibility chain model?
So that multiple objects have the opportunity to process the request, so as to avoid the coupling relationship between the request sender and the receiver. Connect the object to a chain and pass the request
Two-way 1-n and two-way N-1 are exactly the same. Two-way 1-n needs to be able to access one end of n at one end. domain model: the multi-to-one bidirectional association between Order and Customer requires a Customer attribute defined in the Order
/*** @ Author gao */package gao.org; public class RunnableDemo implements Runnable {@ Overridepublic void run () {// TODO Auto-generated method stubfor (int I = 0; I
Main thread output: 0 main thread output: 1 main thread output: 2 new thread
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