How to set the Eclipse, myeclipse XML file Syntax hints

Source: Internet
Author: User

When editing a file like Struts.xml, there is generally no syntax hint, you can set it up as follows:

Copy struts2-core-2. X.jar in the Struts-2.3.dtd file, placed in any position, such as D:\Src_API\ under;

Open the MyEclipse window/preferences, enter the XML catalog in the input box, as shown in the following figure:

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/Java/

Click the "ADD" button to open the following dialog box:

Location Select where to place the DTD file;

The Key type selects the URI;

Copy the <! of the Struts.xml file The following text for the DOCTYPE/> Label: HTTP://STRUTS.APACHE.ORG/DTDS/STRUTS-2.3.DTD

Paste into key;

Save, you can have syntax hints.

Related Article

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.