According to TLD or attribute directive in Tag file appears in JSP, attribute value does not accept any expressions
A JSP exception occurs during application deployment and running. When jstl library is used: According to TLD or attribute directive in Tag file, attribute value does not accept any expressions, it may be because the jsp2.0 version is used,
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
Because the example in chapter 8 of the Ajax basic tutorial uses jstl1.1, I caught a cold for a few days. Today is the last day, so I have to learn jstl1.1 quickly, even if it is a fur.
I read some articles on the Internet and got a rough idea. To use jstl1.1 at least, the jstl. jar and standard. Jar classes are required, and the next C. TLD can be used.
Add
I like the method above, like the link below has changed or cannot access the Internet. What
Sometimes when writing a front-end JSP page, you need to get background data, or you want to handle some logic in the background. You can use this method:
1 Background code:
Package com.cd.util;Import java.util.List;Get all Provincespublic class Areautil {private static Icdareaservice Cdareaservice = Springcontextholder.getbean (Icdareaservice.class);Must be a static methodpublic static listreturn cdareaservice.findprovince (grade);}}
2 in the TLD fi
I didn't expect the results page to be inaccessible, suggesting that attribute class invalid for tag present according to TLD errorFor example: class= "Combo" style= "width:100%"/> This is not class, but styleclass.Out of the question.Struts's inexplicable problem solving method: Attribute class invalid for tag present according to TLD
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 is referenced on the JSP page, the syst
According to TLD or attribute directive in tag file appears in the JSP, attribute value does not accept any expressions
JSP exception occurs when application deployment runs, when using the JSTL library: according to TLD or attributes Directive in tag file, attribute value does not accept any expressions, perhaps because of the use of the JSP2.0 version, while not using an alternate version of the JSTL Core
first of all, I use the environment is vs2015+opencv3.2, in different circumstances of the preparation method, please.
First, the network of TLD has two versions, one is Zdenek Kalal own use Matlab+vs mixed programming, the other is arthurv using C + + and OPENCV implementation.1.1, I am using the arthurv version of the Tracking-learning-detectionConnection: Https://github.com/alantrrs/OpenTLD1.2, download the C + + code as shown belowwhichDatasets
there is no with_ffmpegworkflow, and add it in cmakecache.txt.
With_ffmpeg, started to compile according to the previous method, install to the tool chain, compile the TLD algorithm, no error is reported.
However, put run_tld on the Development Board for testing. The error is still the same --Capture device failed to open!.
It's almost three weeks. Please be depressed ....
PS: At the same time, I also learned that, because ok6410 does not
Original, reprint please specify the Source: http://blog.csdn.net/zhuzhudeailnn/article/details/8853585
Configuration of the running environment of TLD of MATLAB:
Installation environment: Maid, opencv2.2, vs2008 (or any compilation tool with VC ++)
Installation Process:
1.Install MATLAB and(Vs pathStrongly recommendedUse the default installation path (that is, the Directory of the C disk. Do not change it. Otherwise, it is easy for MATLAB to
TLD is tracking learning detection, the Code http://info.ee.surrey.ac.uk/Personal/Z.Kalal/tld.html that Zdenek kalal gives on its home pageProgram configuration on my computer: win7 + vs2010 + MATLAB r2010a + opencv2.2 (or opencv2.3.1)Opencv2.2 (which contains various versions of opencv) http://www.opencv.org.cn/index.php/DownloadStep 1: Install opencv2.2 opencv and vs2010 installation tutorial address http://www.opencv.org.cn/index.p... E8 % A3 % 85o
The JSTL Tag Library has two taglib pseudo-directives, where the RT library is dependent on the JSP's traditional request-time attribute value, rather than relying on EL to implement:As long as theSwitchEl statements cannot be used in Jstl. Exception information: According to TLD or attribute directive in tag file, attribute value does no accept any expressions
JSP exception occurs when application deployment runs, when using the JSTL library: according to TLD or attributes Directive in tag file, attribute value does not accept any expressions, perhaps because of the use of the JSP2.0 version, while not using an alternate version of the JSTL Core library (RT library), there are two ways to handle this:
1. Modify Web.xml.
To version 2.3
2. Use Jstl Core RT Library
The JSTL Core Library has two taglib pseudo
Using JSTL tag does not require the following code to be added to the web.xml:
And just put Jstl.jar and Stardard.jar into the Web-inf/lib directory to use
For JSTL core tag, if you use the following declaration:
The return is wrong:
According to TLD or attributes Directive in tag file, attribute value does not accept any expressions
The solution is to change the declaration to
TLD (tracking-Learning-detection) learning and source code understanding (2)
Zouxy09@qq.com
Opentld download and Compilation:
(1) https://github.com/arthurv/OpenTLDDownload: arthurv-OpenTLD-1e3cd0b.zip
Alternatively, you can use the GIT tool to clone the file in Linux:
# Git clone git@github.com: alantrrs/opentld. Git
(2) My compiling environment is Ubuntu 12.04 + opencv2.3
Install opencv 2.3:
# Apt-Get install libcv-dev libcv2.3 libcvaux-dev libcvaux
Complete error:
Invalid Mex-File '×××××××':/usr/local/Matlab/r2011a/bin/glnxa64/sys/OS/glnxa64/libstdc ++. so.6: Version
'Glibcxx _ 3.4.11 'not found (required ******)
Solution:
1. Convert MATLAB ~ /Sys/OS/glnxa64/libstdc ++. so.6, renamed libstdc ++. so.6 _ backup
Sudo MV libstdc ++. so.6 libstdc ++. so.6 _ backup
2. In this way, you can debug it, or set/usr/lib/libstdc ++. so.6 to a soft link to the directory above.
Now, TLD is working properly.
Severe: servlet. Service () for servlet JSP threw exception
Org. Apache. Jasper. jasperexception:/selectortagtest. jsp (26,8) According to TLD or attribute directive in Tag file, attribute items does not Accep
T any expressions
At org. Apache. Jasper. compiler. defaulterrorhandler. jsperror (defaulterrorhandler. Java: 40)
At org. Apache. Jasper. compiler. errordispatcher. Dispatch (errordispatcher. Java: 407)
At org. Apache. Jasper. compiler. err
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.