Well, as long as the developer, such a small thing will always meet, for some of these warning error is not affect the operation of the Code, the corresponding function can be achieved, but always give a less beautiful feeling! If the code is written in accordance with the specification, these problems will naturally disappear, so the idea of solving this kind of problem is a bit like one of the ideas of Chinese medicine-find the place, dredge it, we are to find nonstandard code to standardize it!
Serial number |
Problem Tip |
Reference Solutions |
1 |
Invalid location of tag (style). (The style label is not in the same position) |
Write the corresponding style tag to the head tag |
2 |
Invalid location of the tag (script). (The script tag is not in the same position) |
Write the corresponding script tag to the head or body tag |
3 |
Invalid Location of tag (form). (The position of the form tag is not valid) |
The corresponding form label is written outside the table label, and the form tag cannot be nested within the form label. |
4 |
Tag name (fieldset) uses wrong case character. (The label name (FIELDSET) uses the wrong character) |
Change the large letters contained in the property name to lowercase |
5 |
Attribute name (onfocus) uses wrong case character. (The attribute name (onfocus) uses the wrong character) |
Change the large letters contained in the property name to lowercase |
6 |
Missing semicolon (missing semicolon) |
Add an English semicolon after the corresponding statement |
7 |
No start tag (<br>). (no corresponding start tag) |
Add a corresponding start tag or write a closed label directly |
8 |
No end tag (</a>). (no corresponding end tag) |
Add a corresponding end tag or write a closed label directly |
9 |
Unknown tag (c). (Unknown label) |
This is the label you wrote or the wrong one. |
There must be other situations, but these are more common, and they are not only for a label, for similar labels appear above the situation, can use the above method to solve! The key point is that as long as we see the red or yellow Place, I think it is not normal to need normalization , and to start analysis and solve it is ok
Summary of Workarounds for JSP page warnings in eclipse