Today, it is really annoying to refactor a project... Look at the big head, alas .... There was a problem. There was no problem with the local test. An exception occurred when publishing to the remote server, which was very strange.
The environment is as follows:
OS: RHEL 5.2
Web Server (local): tomcat6.0.18
Web Server (remote): tomcat-7.0.21
Exception information:
Exception:
JSP (155, 69) attribute qualified names must be unique within an element
It runs normally in Tomcat 6, but is abnormal in Tomcat 7.
After inspection, we found that:
155 the line code is as follows:
<S: Select label = "location_name" name = "location_name" id = "location_name" id = "location_name ".....
Solution:
Two Duplicate IDs, cups, and duplicates are deleted and re-released. Everything works normally.
Really careless coder, alas... It took me half an hour to solve this problem. Cup!