Deploy in myeclipse10CodeAppears:
 
In <form name = "form1" method = "Post" Action = "login. jsp" onsubmit = "Return check ()">
Error message. The onsubmit = "Return check () location is invalid. Can't return from outside a function or Method
 
Ignore it. This issue has also been discussed in another post, and there is no conclusive content:
Http://topic.csdn.net/u/20111208/19/e316b448-964e-4174-a78d-a2fe6721d04a.html
 
In addition, this issue has been raised as a bug in Eclipse:
Https://bugs.eclipse.org/bugs/show_bug.cgi? Id = 353209
 
--------------------------------------------------------------------------------
 
This is how I handle this annoying prompt. Disable Javascript verification in the J2EE project.
1. Right-click the project and choose Properties> myeclipse> validation.
2. Remove the validation option of JavaScript and click OK.
 
Effect: