1. Label Encapsulation of Java code implemented in a manner similar to HTML tags . First: The technical standard for developing labels--- custom labels is formed. Second: the Java Standard tag library (a collection of a series of tags developed by sun itself)Jstl, and the expression language EL. 2. Custom Labels (1) Understanding:you can allow users to develop their own label specifications according to the
Recently do a tree-shaped structure of the display, request the target page, the background only return a simple list, although there is a desire to do some work in the JSP page simplification, but too cumbersome, other tags can not meet the needs, so can only do one by themselves. Using TLD tags simplifies JSP code and can be reused later, so for these two benefits, using a custom
Recently do a tree-shaped structure of the display, request the target page, the background only return a simple list, although there is a desire to do some work in the JSP page simplification, but too cumbersome, other tags can not meet the needs, so can only do one by themselves. Using TLD tags simplifies JSP code and can be reused later, so for these two benefits, using a custom
* Bloggers have also done several or large or small web background projects, where the database is necessary to have a dictionary table to store a number of commonly used business dictionaries, page rendering can also be a variety of tags and expressions. When we query the data, the primary table usually stores the primary key of the dictionary table, The corresponding dictionary is then obtained through a table query. Now I want to share a "different way" and talk about learning together
idea
This is a helloworld program.
Problems solved: 1. The project cannot be processed using EL expressions; 2. How should TLD be defined; 3. Custom a JSP tag
1. The El expression cannot be used.
(I am using the tomcat.6.0.36 version I just downloaded this evening. However, this problem does not matter to the tomcat version)
1) problems that always occur before. My original solution is to change the version num
After searching online for a long time, I finally found an Eclipse plug-in htmleditor for formatting JSP HTML.
I think formatting is barely done
However, the custom TLD tag cannot be parsed.
It took me a long time to figure out the reason for this plug-in...
When my JSP uses htmleditor (amateras) by default to open the JSP page
When the tag of the TLD
1. A good Java custom label article address: http://gaoshu2006.blog.sohu.com/113222643.html
2.sun Company Java Custom Label original address: http://java.sun.com/developer/technicalArticles/xml/WebAppDev3/
--------------------------------------------------------------------------------------------------------------- --------------------------------------------------------
JSP
Java:jsp: A simple custom label TLDPlease note that the URI is: Http://www.tag.com/mytag, keep unified, otherwise error, cannot accessTLD file1"1.0"encoding="UTF-8"?>2"HTTP://JAVA.SUN.COM/XML/NS/J2EE"3Xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"4xsi:schemalocation="HTTP://JAVA.SUN.COM/XML/NS/J2EE5http//java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd "6version="2.0">71.1Print library891.0Ten Short-name>mytag Short-name> One//www.tag.com/myt
1. Create a new tag named name. TLD. Note that this file should be placed under the WEB-INF file (same as Web. XML) and will be automatically loaded at runtime
2. Now we start to implement the getname method of the tag. Create a new package com. yuqiaotech. PMS. webapp. tags, which contains two files: getname. Java and pmstag. java.
Getname. Java
Package COM. yuqiaotech. PMS. webapp. tags; import javax. servlet. JSP. jspexception; public class get
Detailed explanation of single-target tracing algorithm program of TLD -- OpenTLD Code; tld -- opentld
Principle of TLD algorithm: http://www.cnblogs.com/liuyihai/p/8306419.html
OpenTLD source code: https://github.com/zk00006/OpenTLD
Code explanation:
1. TLD code Summary: from the main () function, analysis of
Official spring-MVN deployment example, built using MavenUse MVN Eclipse: cleanMVN Eclipse: eclipse-dwtpversion = 1.0 Build. during deployment, it is found that the jar is not copied to the corresponding place. Therefore, right-click the project, properties, and deployment assembly,Add-"Java buildpath entrys select the jar package of Maven and then deploy it without errors. However, after entering the address, the following error occurs:Unable to read TLD
TLD is the abbreviation of taglib descriptionThe last piece in the custom label puzzle is the TLD (Tag library descriptor) file. Each tag you create must be declared in a TLD file, and this file must be deployed along with the Java processor class for the tag. As seen in the previous section, the servlet container know
I want the select attribute to have an expression, I will change the red part above to true.
3. declare such a paragraph in the web. xml file of the project
4. Reference this custom "Huang" tag on the JSP page.
5 OK. Now you can use this new tag to view what you want.
For example, now I can splice variables.
For example, I used
If you set variables in the SELECT statement, the following error occurs: According to
Objective:Original address: http://www.cnblogs.com/lxy2017/p/3927456.htmlBrief introduction:Original: http://blog.csdn.net/mysniper11/article/details/8726649Video Introduction Website: http://www.cvchina.info/2011/04/05/tracking-learning-detection/TLD (tracking-learning-detection) is a new single-target long term Tracking tracking algorithm presented by Zdenek Kalal, a Czech PhD student at the University of Surrey, UK, during his doctoral degree. The
SummaryThis paper studies the long-term tracking problem of unknown target in video stream. In the first frame, the tracking target is defined by the selected location and size. In each of the following frames, the tracking task is to determine the location and size of the target or to indicate that the target does not exist. We propose a novel tracking framework (TLD) that explicitly decomposes long-term tracking tasks into tracking, learning, and de
Analysis of TLD Visual Tracking Technology
In the monitoring of urban rail transit, the intelligent video analysis technology once experienced great challenges. However, due to the complicated monitoring environment of urban rail transit, it not only has a large area, long perimeter, multiple platforms, multiple entrances and exits, numerous fences, and other related equipment. This complex environment brings many difficulties to Intelligent Analysis.
Simple collation of the next, there are all, good chaos ...
TLD is the abbreviation of an algorithm, which is called tracking-learning-detection by the original author.
Author website Link: http://personal.ee.surrey.ac.uk/Personal/Z.Kalal/
Paper:
(1) tracking-learning-detection
(2) Forward-backward Error Automatic Detection of Tracking failures
(3) Online learning of robust object detectors during unstable tracking
Source Code Resources:
1. Original a
Original article: http://blog.csdn.net/mysniper11/article/details/8726649
Video introduction URL: http://www.cvchina.info/2011/04/05/tracking-learning-detection/
TLD (tracking-Learning-detection) is a Czech PhD student Zdenek kalal proposed a new long term tracking (Long Term tracking) during his PhD degree at the University of surari) tracking Algorithm. This algorithm is significantly different from the traditional tracking algorithm in that it comb
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.