[Struts2] ☆★Solve the Struts. xml file prompt Problem

Source: Internet
Author: User


[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

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.