Sometimes there is no code prompt when writing struts.
The solutions are:
The second step is as follows:
- ##Let the computer be connected to the Internet
- Modify the local path and url of dtd
Window--》》Preferences
Search: xml catalog --》》Add Check workspace --》Select the Location of the local dtd file ---》》Key type Select URI 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!