[Struts2] ☆★Solve the Struts. xml file prompt Problem
First, you need to download the struts shelf package. For details about the download procedure, see [web development] ☆★Struts2 series tutorial [1] Build the struts2 development environment.
After the download, create a new struts. xml file, as shown below:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/37/C0/wKioL1Oumw6hRJ5_AAG2eY0qEak252.jpg "Title =" 1.png" alt = "wkiol1oumw6hrj5_aag2ey0qeak252.jpg"/>
In the case of networking, IDE will be based on this path to download the struts-2.3.dtdt files in the buffer, but some projects, such as the banking project, the development environment is not allowed to connect to the Internet, so how can we solve this problem? OK. Let's look down.
Open the downloaded struts file and find the file as follows:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/37/C1/wKiom1OunEzTkWu4AAKs2liX6O0120.jpg "Title =" 2.png" alt = "wkiom1ouneztkwu4aaks2lix6o0120.jpg"/>
What about next? Open myeclipse to find WindowsPreferences,After opening the file, follow these steps:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/37/C1/wKioL1OunUPzRmQBAAUWJnIGu_k325.jpg "Title =" 3.png" alt = "wkiol1ounupzrmqbaauwjnigu_k325.jpg"/>
Then:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/37/C1/wKioL1OunoehCaZlAAJyJqVFIrI721.jpg "Title =" 4.png" alt = "wkiol1ounoehcazlaajyjqvfiri721.jpg"/>
OK. Here we close the opened struts. xml file and re-open it. You can use the shortcut key to automatically prompt!
Raise your hand if you have any questions! 3q!
This article from the "promise always attachment Xiao Chai," blog, please be sure to keep this source http://1936625305.blog.51cto.com/6410597/1431956