Home  >  Article  >  Java  >  How to solve the problem of writing xml without code prompt?

How to solve the problem of writing xml without code prompt?

零下一度
零下一度Original
2017-06-25 13:40:371370browse

Sometimes there is no code prompt when writing struts.

The solutions are:

  1. ##Let the computer be connected to the Internet

  2. Modify the local path and url of dtd

The second step is as follows:

Window--》》Preferences

How to solve the problem of writing xml without code prompt?

Search: xml catalog --》》Add

How to solve the problem of writing xml without code prompt?

Check workspace --》Select the Location of the local dtd file ---》》Key type Select URI

How to solve the problem of writing xml without code prompt?

Click OK.

The above is the detailed content of How to solve the problem of writing xml without code prompt?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn