JSP Case Analysis (2)-chat room-1-deployment and debugging

Source: Internet
Author: User

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:

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.